Skip to content

Commit ede206b

Browse files
author
Seamus McMorrow
committed
Move JDT down to JLS3 for more compatibility
1 parent 842c498 commit ede206b

File tree

1 file changed

+1
-1
lines changed
  • plugins/com.gwtplugins.gdt.eclipse.core/src/com/google/gdt/eclipse/core

1 file changed

+1
-1
lines changed

plugins/com.gwtplugins.gdt.eclipse.core/src/com/google/gdt/eclipse/core/JavaASTUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public static TypeDeclaration findTypeDeclaration(IJavaProject javaProject,
265265
}
266266

267267
public static ITypeBinding findTypeBinding(IType currentType) throws JavaModelException{
268-
final ASTParser parser = ASTParser.newParser(AST.JLS8);
268+
final ASTParser parser = ASTParser.newParser(AST.JLS3);
269269
parser.setKind(ASTParser.K_COMPILATION_UNIT);
270270
parser.setSource(currentType.getCompilationUnit());
271271
parser.setResolveBindings(true);

0 commit comments

Comments
 (0)