Skip to content

Commit

Permalink
Test updates from recent discussions with Oracle
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan-herrmann committed Feb 1, 2025
1 parent 3ebc6fd commit 40a3a1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1174,9 +1174,7 @@ Excuse excuseFor(JavacCompiler compiler) {
JavacBug8226510_switchExpression = // https://bugs.openjdk.java.net/browse/JDK-8226510
new JavacBug8226510(" --release 12 --enable-preview -Xlint:-preview"),
// JavacBug8299416 = // https://bugs.openjdk.java.net/browse/JDK-8299416 was active only in some builds of JDK 20
JavacBug8336255 = // https://bugs.openjdk.org/browse/JDK-8336255
new JavacBugExtraJavacOptionsPlusMismatch(" --release 23 --enable-preview -Xlint:-preview",
MismatchType.JavacErrorsEclipseNone),
// JavacBug8336255 = // https://bugs.openjdk.org/browse/JDK-8336255 was active only during preview 23
JavacBug8337980 = // https://bugs.openjdk.org/browse/JDK-8337980
new JavacHasABug(MismatchType.EclipseErrorsJavacNone, ClassFileConstants.JDK24, 0000),
JavacBug8343306 = // https://bugs.openjdk.org/browse/JDK-8343306
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2032,8 +2032,9 @@ public static void main(String... args) {
}
}
"""};
runner.vmArguments = VMARGS;
runner.javacTestOptions = JAVAC_OPTIONS;
runner.expectedOutputString = "f3f1";
runner.javacTestOptions = JavacTestOptions.JavacHasABug.JavacBug8336255;
runner.runConformTest();
}
public void testComplexNesting_NOK() {
Expand Down

0 comments on commit 40a3a1e

Please sign in to comment.