mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Java: fix javac errors in test code
This commit is contained in:
@@ -16,7 +16,7 @@ public class ReflectionTest {
|
||||
public int shadowedField;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
public static void main(String[] args) throws NoSuchFieldException {
|
||||
// Ensure the two classes are live, otherwise we might hide some results
|
||||
new ParentClass();
|
||||
new ChildClass();
|
||||
|
||||
Reference in New Issue
Block a user