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
This commit is contained in:
Andreas Lundblad 2014-02-13 14:58:10 +01:00
parent e20546fe2a
commit 8daec20c86
5 changed files with 64 additions and 3 deletions

View file

@ -0,0 +1,9 @@
/*
* @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;
}