Skip to content

Commit 1927618

Browse files
committed
Java: Accept new test results after JDK 26 extractor upgrade
1 parent 9f27a52 commit 1927618

File tree

13 files changed

+19
-15
lines changed

13 files changed

+19
-15
lines changed

java/ql/test-kotlin1/library-tests/exprs_typeaccess/PrintAst.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ B.java:
111111
# 1| 1: [Class] B
112112
# 2| 2: [Constructor] B
113113
# 2| 5: [BlockStmt] { ... }
114+
# 2| 0: [SuperConstructorInvocationStmt] super(...)
114115
# 3| 1: [EmptyStmt] ;
115116
# 6| 3: [Method] fn
116117
# 6| 3: [TypeAccess] void

java/ql/test-kotlin2/library-tests/exprs_typeaccess/PrintAst.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ B.java:
110110
# 1| 1: [Class] B
111111
# 2| 2: [Constructor] B
112112
# 2| 5: [BlockStmt] { ... }
113+
# 2| 0: [SuperConstructorInvocationStmt] super(...)
113114
# 3| 1: [EmptyStmt] ;
114115
# 6| 3: [Method] fn
115116
# 6| 3: [TypeAccess] void
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
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
unusedDiagnosticException
2+
| Test.java:16:1:16:95 | // Diagnostic Matches: In file Test.java:8:15 no end location for JCMethodInvocation : yield(x) |
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)