8159439: javac throws NPE with Module attribute and super_class != 0

Reviewed-by: jjg
This commit is contained in:
Vicente Romero 2016-06-27 12:29:41 -07:00
parent 396d6f6285
commit b69fa0a44d
8 changed files with 80 additions and 0 deletions

View file

@ -0,0 +1,9 @@
/*
* @test /nodynamiccopyright/
* @bug 8159439
* @summary javac throws NPE with Module attribute and super_class != 0
* @build module-info
* @compile/fail/ref=NPEForModuleInfoWithNonZeroSuperClassTest.out -XDrawDiagnostics NPEForModuleInfoWithNonZeroSuperClassTest.java
*/
class NPEForModuleInfoWithNonZeroSuperClassTest {}