As an aside, the fix for the original bug seems to be very easy - the code 
that is building the JMethod instances seems to be overzealous about what 
modifiers must be applied. Aside from the constant failures, all compiler 
tests pass with this change:

diff --git a/dev/core/src/com/google/gwt/dev/javac/
CompilationUnitTypeOracleUpdater.java b/dev/core/src/com/google/gwt/dev/
javac/CompilationUnitTypeOracleUpdater.java
 
index f63e037..c926ec3 100644 
--- a/dev/core/src/com/google/gwt/dev/javac/CompilationUnitTypeOracleUpdater
.java 
+++ b/dev/core/src/com/google/gwt/dev/javac/CompilationUnitTypeOracleUpdater
.java 
@@ -1121,10 +1121,6 @@ public class CompilationUnitTypeOracleUpdater extends 
TypeOracleUpdater { 
     } 
  
     addModifierBits(method, mapBits(ASM_TO_SHARED_MODIFIERS, methodData.
getAccess())); 
-    if (unresolvedType.isInterface() != null) { 
-      // Always add implicit modifiers on interface methods. 
-      addModifierBits(method, Shared.MOD_PUBLIC | Shared.MOD_ABSTRACT); 
-    } 
  
     if ((methodData.getAccess() & Opcodes.ACC_VARARGS) != 0) { 
       setVarArgs(method);

With a little more testing, I'll submit this for review, along with a test 
that verifies that it has the desired behavior.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/f687c323-35af-418e-804d-961d78b8a042%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to