Skip to content

Commit 0e3a0e5

Browse files
[I-Build][Test failures] New failures in org.eclipse.jdt.core.tests.compiler.parser.TestAll at specific JDK levels not tested by Jenkins (eclipse-jdt#3694)
* Fixes eclipse-jdt#3693
1 parent 5687ef1 commit 0e3a0e5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/parser/DietRecoveryTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ public void test05() {
682682
" }\n" +
683683
" void foo() {\n" +
684684
" System.out.println();\n" +
685-
(this.complianceLevel < ClassFileConstants.JDK14
685+
(this.complianceLevel < ClassFileConstants.JDK16
686686
?
687687
" new baz() {\n" +
688688
" };\n"
@@ -6976,7 +6976,7 @@ public void test117() {
69766976
" super();\n" +
69776977
" }\n" +
69786978
" }\n" +
6979-
(this.complianceLevel < ClassFileConstants.JDK14
6979+
(this.complianceLevel < ClassFileConstants.JDK16
69806980
?
69816981
" new foo2() {\n" +
69826982
" };\n" +
@@ -7066,7 +7066,7 @@ public void test117_2() {
70667066
" super();\n" +
70677067
" }\n" +
70687068
" }\n" +
7069-
(this.complianceLevel < ClassFileConstants.JDK14
7069+
(this.complianceLevel < ClassFileConstants.JDK16
70707070
?
70717071
" new foo2() {\n" +
70727072
" };\n" +

org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/parser/StatementRecoveryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3139,7 +3139,7 @@ public void test0038() {
31393139
" }\n" +
31403140
" public void aMethod(int A) {\n" +
31413141
" public void anotherMethod;\n" +
3142-
(this.complianceLevel < ClassFileConstants.JDK14
3142+
(this.complianceLevel < ClassFileConstants.JDK16
31433143
?
31443144
" int A;\n" +
31453145
" ;\n"

0 commit comments

Comments
 (0)