langtools/test/tools/javac/diags/examples/InvalidStaticInterface/InvalidStaticInterface.java
equal
deleted
inserted
replaced
23 |
23 |
24 // key: compiler.misc.invalid.static.interface |
24 // key: compiler.misc.invalid.static.interface |
25 // key: compiler.misc.bad.class.file.header |
25 // key: compiler.misc.bad.class.file.header |
26 // key: compiler.err.cant.access |
26 // key: compiler.err.cant.access |
27 // options: -processor CreateBadClassFile |
27 // options: -processor CreateBadClassFile |
28 // run: exec -XaddExports:jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED |
28 // run: exec --add-exports jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED |
29 |
29 |
30 /* The annotation processor will create an invalid classfile with version 51.0 |
30 /* The annotation processor will create an invalid classfile with version 51.0 |
31 * and a static method in an interface. Loading the classfile will produce |
31 * and a static method in an interface. Loading the classfile will produce |
32 * the diagnostic. |
32 * the diagnostic. |
33 */ |
33 */ |