Skip to content

Commit fb2fe1b

Browse files
committed
Java: Accept new test results after JDK 26 extractor upgrade
1 parent c24b43d commit fb2fe1b

File tree

17 files changed

+23
-16
lines changed

17 files changed

+23
-16
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

java/ql/test/library-tests/constants/PrintAst.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ constants/Initializers.java:
8080
# 8| -1: [TypeAccess] int
8181
# 10| 6: [Constructor] Initializers
8282
# 10| 5: [BlockStmt] { ... }
83+
# 10| 0: [SuperConstructorInvocationStmt] super(...)
8384
# 12| 2: [ExprStmt] <Expr>;
8485
# 12| 0: [AssignExpr] ...=...
8586
# 12| 0: [VarAccess] IFIELD2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
| constructors/A.java:5:3:5:11 | this(...) |
2-
| constructors/A.java:8:2:8:2 | super(...) |
2+
| constructors/A.java:8:11:8:11 | super(...) |
33
| constructors/A.java:11:3:11:9 | new A(...) |

java/ql/test/library-tests/constructors/PrintAst.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ constructors/A.java:
1010
# 8| 0: [Parameter] i
1111
# 8| 0: [TypeAccess] int
1212
# 8| 5: [BlockStmt] { ... }
13+
# 8| 0: [SuperConstructorInvocationStmt] super(...)
1314
# 10| 5: [Method] main
1415
# 10| 3: [TypeAccess] void
1516
#-----| 4: (Parameters)
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

0 commit comments

Comments
 (0)