Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import semmle.code.java.Diagnostics

from Diagnostic d
select d, d.getSeverity(), d.getMessage()
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
public enum Test {

A("A"), B("B"), C("C");

private Test(@Ann String x) { }

}

@interface Ann {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

public class Test2 { Test t; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| Test.java:5:16:5:28 | x | Test.java:5:16:5:19 | Ann |
Original file line number Diff line number Diff line change
@@ -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")
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import java

from Parameter p
select p, p.getAnAnnotation()
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Concurrent Maven processes using ~/.m2/repository is not safe, so this test must run sequentially