< prev index next >

langtools/test/tools/javac/diags/examples/InvalidDefaultInterface/InvalidDefaultInterface.java

Print this page

        

*** 23,33 **** // key: compiler.misc.invalid.default.interface // key: compiler.misc.bad.class.file.header // key: compiler.err.cant.access // options: -processor CreateBadClassFile ! // run: exec -XaddExports:jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED /* The annotation processor will create an invalid classfile with version 51.0 * and a non-abstract method in an interface. Loading the classfile will produce * the diagnostic. */ --- 23,33 ---- // key: compiler.misc.invalid.default.interface // key: compiler.misc.bad.class.file.header // key: compiler.err.cant.access // options: -processor CreateBadClassFile ! // run: exec --add-exports jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED /* The annotation processor will create an invalid classfile with version 51.0 * and a non-abstract method in an interface. Loading the classfile will produce * the diagnostic. */
< prev index next >