Relates :
|
JDK-8037385 added a new diagnostic, along with an example in langtools/test/tools/javac/diags/examples (specifically, StaticIntfMethodInvokeNotSupported.java). But we should also have a standalone jtreg test exercising the error check.