jdk-24/langtools/test/tools/javac/implicitCompile/SkipAttrFlowGenForImplicits.java
Andreas Lundblad 8daec20c86 8030714: The steps attribute, flow and desugar are unnecessary for implicit classes when compiling with -implicit:none
When compiling with -implicit:none, attribute, flow and desugar is skipped for better performance.

Reviewed-by: jfranck, jlahoda
2014-02-13 14:58:10 +01:00

10 lines
288 B
Java

/*
* @test /nodynamiccopyright/
* @bug 8030714
* @summary make sure attribute and flow is skipped for implicit classes
* @compile/ref=SkipAttrFlowGenForImplicits.out -XDverboseCompilePolicy -implicit:none SkipAttrFlowGenForImplicits.java
*/
class Explicit {
Implicit implicit;
}