Community
Participate
Working Groups
As found in bug 300576 the following tests: CompilationUnitTests SortCompilationUnitElementsTests have bogus project setup: this.testProject = createJavaProject("P", new String[] {"src"}, new String[] {getExternalJCLPathString()}, "bin", "1.5"); This creates a project at compliance 1.5 but uses jclMin.jar where it should use jclMin1.5.jar The fix is to use getExternalJCLPathString("1.5")
I think both projects should use: setUpJavaProject("P", "1.5");
(In reply to comment #1) > I think both projects should use: > setUpJavaProject("P", "1.5"); Of course, it is not that simple. Investigating.
Created attachment 199935 [details] Proposed fix
Released in BETA_JAVA7 branch. Stephan, please review. setUpJavaProject("P", "1.5"); works fine when there is an underlying project in the resource folder that properly sets up the source folders.
Verified.
Patch looks good.