mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Merge remote-tracking branch 'origin/main' into dbartol/provenance/qltest
This commit is contained in:
@@ -0,0 +1 @@
|
||||
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
|
||||
@@ -0,0 +1 @@
|
||||
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
|
||||
@@ -0,0 +1 @@
|
||||
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
|
||||
@@ -0,0 +1 @@
|
||||
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
|
||||
@@ -0,0 +1 @@
|
||||
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
|
||||
@@ -0,0 +1 @@
|
||||
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
|
||||
@@ -0,0 +1 @@
|
||||
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
|
||||
@@ -0,0 +1,4 @@
|
||||
import semmle.code.java.Diagnostics
|
||||
|
||||
from Diagnostic d
|
||||
select d, d.getSeverity(), d.getMessage()
|
||||
@@ -0,0 +1,9 @@
|
||||
public enum Test {
|
||||
|
||||
A("A"), B("B"), C("C");
|
||||
|
||||
private Test(@Ann String x) { }
|
||||
|
||||
}
|
||||
|
||||
@interface Ann {}
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
public class Test2 { Test t; }
|
||||
@@ -0,0 +1 @@
|
||||
| Test.java:5:16:5:28 | x | Test.java:5:16:5:19 | Ann |
|
||||
@@ -0,0 +1,8 @@
|
||||
import urllib.request
|
||||
from create_database_utils import *
|
||||
|
||||
urllib.request.urlretrieve("https://repo1.maven.org/maven2/org/eclipse/jdt/ecj/3.38.0/ecj-3.38.0.jar", "ecj.jar")
|
||||
|
||||
# This tests the case where ECJ emits a RuntimeIn/VisibleAnnotations attribute that isn't the same size as the corresponding method argument list, in particular due to forgetting to include the synthetic parameters added to explicit enumeration constructors.
|
||||
|
||||
run_codeql_database_create(["java -cp ecj.jar org.eclipse.jdt.internal.compiler.batch.Main Test.java -d out -source 8", "java -cp ecj.jar org.eclipse.jdt.internal.compiler.batch.Main Test2.java -cp out -source 8"], lang="java")
|
||||
@@ -0,0 +1,4 @@
|
||||
import java
|
||||
|
||||
from Parameter p
|
||||
select p, p.getAnAnnotation()
|
||||
@@ -0,0 +1 @@
|
||||
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
|
||||
@@ -0,0 +1 @@
|
||||
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
|
||||
@@ -0,0 +1 @@
|
||||
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
|
||||
@@ -0,0 +1 @@
|
||||
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
|
||||
@@ -0,0 +1 @@
|
||||
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
|
||||
@@ -0,0 +1 @@
|
||||
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
|
||||
@@ -0,0 +1 @@
|
||||
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
|
||||
@@ -0,0 +1 @@
|
||||
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
|
||||
@@ -0,0 +1 @@
|
||||
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
|
||||
@@ -0,0 +1 @@
|
||||
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
|
||||
Reference in New Issue
Block a user