< prev index next >
test/langtools/tools/javac/diags/examples/PrivateInterfaceMethodsNotSupported.java
Print this page
*** 21,31 ****
* questions.
*/
// key: compiler.err.feature.not.supported.in.source.plural
// key: compiler.misc.feature.private.intf.methods
! // key: compiler.warn.source.no.bootclasspath
! // options: -source 8
interface PrivateInterfaceMethodsNotSupported {
private void foo() {}
}
--- 21,30 ----
* questions.
*/
// key: compiler.err.feature.not.supported.in.source.plural
// key: compiler.misc.feature.private.intf.methods
! // options: -source 8 -Xlint:-options
interface PrivateInterfaceMethodsNotSupported {
private void foo() {}
}
< prev index next >