Skip to content

Commit 212e9fb

Browse files
Merge pull request gwt-plugins#375 from seamusmac/master
Move JDT down to JLS3 for better compatibility
2 parents c92246e + ede206b commit 212e9fb

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)