Skip to content

Commit 74b0e8c

Browse files
committed
Java: Accept new test results after JDK 26 extractor upgrade
1 parent fb8b569 commit 74b0e8c

File tree

9 files changed

+9
-10
lines changed

9 files changed

+9
-10
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
| Test.java:0:0:0:0 | Test | Test.java:1:1:1:1 | Test | Compact source file 'Test' contains implicit class 'Test' |
1+
| Test.java:0:0:0:0 | Test | Test.java:1:1:29:1 | Test | Compact source file 'Test' contains implicit class 'Test' |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
| Test.java:1:1:1:1 | Test | implicit |
1+
| Test.java:1:1:29:1 | Test | implicit |
22
| Test.java:25:7:25:16 | NotCompact | not implicit |

java/ql/test/library-tests/compact-source-files/MethodInCompactSource.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
| Test.java:1:1:1:1 | <clinit> | in compact source |
2-
| Test.java:1:1:1:1 | <obinit> | in compact source |
1+
| Test.java:1:1:29:1 | <clinit> | in compact source |
2+
| Test.java:1:1:29:1 | <obinit> | in compact source |
33
| Test.java:5:6:5:9 | main | in compact source |
44
| Test.java:11:6:11:16 | processData | in compact source |
55
| Test.java:16:14:16:31 | updatePrivateField | in compact source |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
//semmle-extractor-options: --javac-args --release 25 --enable-preview
1+
//semmle-extractor-options: --javac-args --release 25
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
//semmle-extractor-options: --javac-args --enable-preview --release 25
1+
//semmle-extractor-options: --javac-args --release 25
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
//semmle-extractor-options: --javac-args -source 25 -target 25 --enable-preview
1+
//semmle-extractor-options: --javac-args -source 25 -target 25

java/ql/test/library-tests/errorexpr/Test.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@ public int yieldWrapper(int x) {
1313
}
1414

1515
// Diagnostic Matches: Erroneous node in tree: (ERROR)
16-
// Diagnostic Matches: In file Test.java:8:15 no end location for JCMethodInvocation : yield(x)
1716
// Diagnostic Matches: 1 errors during annotation processing
1817
// Diagnostic Matches: Unknown or erroneous type for expression of kind ErrorExpr
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
//semmle-extractor-options: --javac-args --release 25 --enable-preview
1+
//semmle-extractor-options: --javac-args --release 25
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
//semmle-extractor-options: --javac-args --release 25 --enable-preview
1+
//semmle-extractor-options: --javac-args --release 25

0 commit comments

Comments
 (0)