Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Avoid null value for superInterfaceBindings

  • Loading branch information...
commit faa73b768dececfb45a15a155cbd4590a9c0b192 1 parent c2c67fe
@aeisenberg aeisenberg authored
View
1  base/org.eclipse.jdt.groovy.core/src/org/codehaus/jdt/groovy/internal/compiler/ast/JDTClassNode.java
@@ -234,6 +234,7 @@ void initialize() {
}
ReferenceBinding[] superInterfaceBindings = jdtBinding.superInterfaces();
+ superInterfaceBindings = superInterfaceBindings == null ? ReferenceBinding.NO_SUPERINTERFACES : superInterfaceBindings;
ClassNode[] interfaces = new ClassNode[superInterfaceBindings.length];
for (int i = 0; i < superInterfaceBindings.length; i++) {
interfaces[i] = resolver.convertToClassNode(superInterfaceBindings[i]);
Please sign in to comment.
Something went wrong with that request. Please try again.