From a3494aa6088b93df70996c0d24739efef82f7279 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Wed, 30 Dec 2009 02:03:48 +0100 Subject: Command line compiling with ecj at source 1.6 now works! --- src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/eclipseAgent') diff --git a/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java b/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java index 1430ca8c..5d0722b0 100644 --- a/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java +++ b/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java @@ -13,11 +13,11 @@ public class PatchFixes { return in; } - private static final int BIT24 = 0x800000; + public static final int ALREADY_PROCESSED_FLAG = 0x800000; //Bit 24 public static boolean checkBit24(Object node) throws Exception { int bits = (Integer)(node.getClass().getField("bits").get(node)); - return (bits & BIT24) != 0; + return (bits & ALREADY_PROCESSED_FLAG) != 0; } public static boolean skipRewritingGeneratedNodes(org.eclipse.jdt.core.dom.ASTNode node) throws Exception { -- cgit