Reviewers: scottb,

Description:
Ensure bridgeMethods is initialized, even when constructed from other
subtypes, such as MissingTypeBinding.


Please review this at http://gwt-code-reviews.appspot.com/708802/show

Affected files:
M dev/core/src/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java


Index: dev/core/src/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java
===================================================================
--- dev/core/src/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java (revision 8426) +++ dev/core/src/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java (working copy)
@@ -38,7 +38,7 @@
        protected ReferenceBinding[] superInterfaces;
        protected FieldBinding[] fields;
        protected MethodBinding[] methods;
-       protected MethodBinding[] bridgeMethods;
+       protected MethodBinding[] bridgeMethods = Binding.NO_METHODS;
        protected ReferenceBinding[] memberTypes;
        protected TypeVariableBinding[] typeVariables;



--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to