This commit is contained in:
Reinier Zwitserloot committed 2009-06-17 20:09:01 +02:00
1 parent d3ee75020e
commit db2326714f
1 file changed
+1 -2
+1 -2
View File
@@ -372,8 +372,7 @@ public class JavacAST extends AST<JCTree> {
f.setAccessible(true);
if ( f.getType() == int.class ) {
int val = ((Number)f.get(messager)).intValue();
val++;
f.set(messager, val);
f.set(messager, val +1);
}
} catch ( Throwable t ) {
//Very unfortunate, but in most cases it still works fine, so we'll silently swallow it.