langtools/test/tools/javac/modules/T8159439/NPEForModuleInfoWithNonZeroSuperClassTest.java
author sadayapalam
Mon, 06 Feb 2017 18:14:51 +0530
changeset 43584 63e67712246b
parent 39361 cd0aca7db174
permissions -rw-r--r--
8166420: Confusing error message when reading bad module declaration Reviewed-by: jlahoda
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
39361
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
     1
/*
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
     2
 * @test /nodynamiccopyright/
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
     3
 * @bug 8159439
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
     4
 * @summary javac throws NPE with Module attribute and super_class != 0
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
     5
 * @build module-info
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
     6
 * @compile/fail/ref=NPEForModuleInfoWithNonZeroSuperClassTest.out -XDrawDiagnostics NPEForModuleInfoWithNonZeroSuperClassTest.java
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
     7
 */
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
     8
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
diff changeset
     9
class NPEForModuleInfoWithNonZeroSuperClassTest {}