-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into mbg/go/semver-type
- Loading branch information
Showing
8 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
java/ql/integration-tests/all-platforms/java/ecj-sample-noexit/Test.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
public class Test { } |
1 change: 1 addition & 0 deletions
1
java/ql/integration-tests/all-platforms/java/ecj-sample-noexit/test.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| Test.java:1:14:1:17 | Test | |
6 changes: 6 additions & 0 deletions
6
java/ql/integration-tests/all-platforms/java/ecj-sample-noexit/test.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import urllib.request | ||
from create_database_utils import * | ||
|
||
urllib.request.urlretrieve("https://repo1.maven.org/maven2/org/eclipse/jdt/ecj/3.37.0/ecj-3.37.0.jar", "ecj.jar") | ||
|
||
run_codeql_database_create(["java -cp ecj.jar org.eclipse.jdt.internal.compiler.batch.Main -noExit Test.java"], lang="java") |
3 changes: 3 additions & 0 deletions
3
java/ql/integration-tests/all-platforms/java/ecj-sample-noexit/test.ql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import java | ||
|
||
select any(Class c | c.fromSource()) |
1 change: 1 addition & 0 deletions
1
java/ql/integration-tests/all-platforms/java/ecj-sample/Test.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
public class Test { } |
1 change: 1 addition & 0 deletions
1
java/ql/integration-tests/all-platforms/java/ecj-sample/test.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| Test.java:1:14:1:17 | Test | |
6 changes: 6 additions & 0 deletions
6
java/ql/integration-tests/all-platforms/java/ecj-sample/test.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import urllib.request | ||
from create_database_utils import * | ||
|
||
urllib.request.urlretrieve("https://repo1.maven.org/maven2/org/eclipse/jdt/ecj/3.37.0/ecj-3.37.0.jar", "ecj.jar") | ||
|
||
run_codeql_database_create(["java -cp ecj.jar org.eclipse.jdt.internal.compiler.batch.Main Test.java"], lang="java") |
3 changes: 3 additions & 0 deletions
3
java/ql/integration-tests/all-platforms/java/ecj-sample/test.ql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import java | ||
|
||
select any(Class c | c.fromSource()) |