langtools/test/tools/javac/diags/examples/InvalidDefaultInterface/InvalidDefaultInterface.java
changeset 40308 274367a99f98
parent 36526 3b41f1c69604
equal deleted inserted replaced
40306:1a0fcaf3f2ed 40308:274367a99f98
    23 
    23 
    24 // key: compiler.misc.invalid.default.interface
    24 // key: compiler.misc.invalid.default.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 non-abstract method in an interface. Loading the classfile will produce
    31  * and a non-abstract method in an interface. Loading the classfile will produce
    32  * the diagnostic.
    32  * the diagnostic.
    33  */
    33  */