Skip to content

Commit ffd0a72

Browse files
authored
Merge pull request #14285 from smowton/smowton/test/module-in-wrongly-named-file
Java: Test module definition in a file not named module-info.java in a buildless extraction
2 parents 67019c6 + 04258f8 commit ffd0a72

File tree

5 files changed

+11
-0
lines changed

5 files changed

+11
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Test2.java:
2+
# 0| [CompilationUnit] Test2
3+
# 1| 1: [Class] Test2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
semmle/code/java/PrintAst.ql
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module mymodule { }
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
public class Test2 { }
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import sys
2+
3+
from create_database_utils import *
4+
5+
run_codeql_database_create([], lang="java", extra_args=["--extractor-option=buildless=true"])

0 commit comments

Comments
 (0)