- 
    Bug 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    8
- 
        b17
- 
        Verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8319767 | 8u411 | Anawesha Khuntia | P4 | Resolved | Fixed | b01 | 
                    This test declares a utility method but ignores the args it is given.
void testGetTask(Iterable<String> options,
Iterable<String> classes,
Iterable<? extends JavaFileObject> compilationUnits) {
try {
task = tool.getTask(null, null, null, null, null, singleton((JavaFileObject)null));
throw new AssertionError("Error expected");
} catch (NullPointerException e) {
System.err.println("Expected error occurred: " + e);
}
}
void testGetTask(Iterable<String> options,
Iterable<String> classes,
Iterable<? extends JavaFileObject> compilationUnits) {
try {
task = tool.getTask(null, null, null, null, null, singleton((JavaFileObject)null));
throw new AssertionError("Error expected");
} catch (NullPointerException e) {
System.err.println("Expected error occurred: " + e);
}
}
- backported by
- 
                    JDK-8319767 test/tools/javac/api/6410643/T6410643.java is broken -           
- Resolved
 
-