You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"should have complained about jdk level mismatch",
448
-
"Incompatible .class files version in required binaries. Project 'P' is targeting a " + firstVersion
449
-
+ " runtime, but is compiled against \'" + getExternalJCLPath(latestVersion).makeRelative() + "' (from the container 'container/default') which requires a "+latestVersion+" runtime",
447
+
IStatus.ERROR,
448
+
IJavaModelStatusConstants.INCOMPATIBLE_JDK_LEVEL,
450
449
status);
451
450
} finally {
452
451
deleteProject("P");
@@ -1934,7 +1933,8 @@ public void testClasspathValidation27() throws CoreException {
"Incompatible .class files version in required binaries. Project \'P2\' is targeting a 1.1 runtime, but is compiled against \'P1\' which requires a " + CompilerOptions.getFirstSupportedJavaVersion() + " runtime",
1936
+
IStatus.ERROR,
1937
+
IJavaModelStatusConstants.INCOMPATIBLE_JDK_LEVEL,
1938
1938
status);
1939
1939
} finally {
1940
1940
deleteProjects(newString[]{"P1", "P2"});
@@ -2185,9 +2185,7 @@ public void testClasspathValidation36() throws CoreException {
assertStatus("should complain because tests have no output folder", "Test source folder 'src-tests' in project 'P' must have a separate output folder", status);
7357
+
assertStatus("should complain because tests have no output folder", IStatus.ERROR, IJavaModelStatusConstants.TEST_SOURCE_REQUIRES_SEPARATE_OUTPUT_LOCATION, status);
7357
7358
} finally {
7358
7359
this.deleteProject("P");
7359
7360
}
@@ -7370,7 +7371,7 @@ public void testClasspathTestSourceValidation3() throws CoreException {
assertStatus("should complain because main sources have the same own output folder", "Test source folder 'src-tests' in project 'P' must have an output folder that is not also used for main sources", status);
7412
+
assertStatus("should complain because main sources have the same own output folder", IStatus.ERROR, IJavaModelStatusConstants.TEST_OUTPUT_FOLDER_MUST_BE_SEPARATE_FROM_MAIN_OUTPUT_FOLDERS, status);
7412
7413
} finally {
7413
7414
this.deleteProject("P");
7414
7415
}
@@ -7435,10 +7436,10 @@ public void testBug539998() throws CoreException {
0 commit comments