[pkg-eucalyptus-commits] r229 - gwt/trunk/debian/patches
Chris Halls
halls at alioth.debian.org
Wed Jul 4 12:09:07 UTC 2012
Author: halls
Date: 2012-07-04 12:09:07 +0000 (Wed, 04 Jul 2012)
New Revision: 229
Modified:
gwt/trunk/debian/patches/build-with-jdt37
Log:
build-with-jdt37: Fix compilation error
Backport change from upstream r10869 to fix compile error from new JDT version
Modified: gwt/trunk/debian/patches/build-with-jdt37
===================================================================
--- gwt/trunk/debian/patches/build-with-jdt37 2012-07-04 12:09:02 UTC (rev 228)
+++ gwt/trunk/debian/patches/build-with-jdt37 2012-07-04 12:09:07 UTC (rev 229)
@@ -38,3 +38,19 @@
}
method2Decl.binding = null;
// do not alter original method array until resolution is over, due to reentrance (143259)
+--- a/dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java
++++ b/dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java
+@@ -440,7 +440,12 @@
+
+ if (type != null) {
+ if (type instanceof UnresolvedReferenceBinding) {
+- type = BinaryTypeBinding.resolveType(type, lookupEnvironment, true);
++ /*
++ * Since type is an instance of UnresolvedReferenceBinding, we know that
++ * the return value BinaryTypeBinding.resolveType will be of type
++ * ReferenceBinding
++ */
++ type = (ReferenceBinding) BinaryTypeBinding.resolveType(type, lookupEnvironment, true);
+ }
+ // found it
+ return type;
More information about the pkg-eucalyptus-commits
mailing list