mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
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:
parent
e20546fe2a
commit
8daec20c86
5 changed files with 64 additions and 3 deletions
|
@ -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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue