author | yzheng |
Wed, 16 Oct 2019 16:54:56 +0200 | |
changeset 58650 | d068b1e534de |
parent 47216 | 71c04702a3d5 |
permissions | -rw-r--r-- |
23115
97722ad6c874
8030714: The steps attribute, flow and desugar are unnecessary for implicit classes when compiling with -implicit:none
alundblad
parents:
diff
changeset
|
1 |
/* |
97722ad6c874
8030714: The steps attribute, flow and desugar are unnecessary for implicit classes when compiling with -implicit:none
alundblad
parents:
diff
changeset
|
2 |
* @test /nodynamiccopyright/ |
97722ad6c874
8030714: The steps attribute, flow and desugar are unnecessary for implicit classes when compiling with -implicit:none
alundblad
parents:
diff
changeset
|
3 |
* @bug 8030714 |
97722ad6c874
8030714: The steps attribute, flow and desugar are unnecessary for implicit classes when compiling with -implicit:none
alundblad
parents:
diff
changeset
|
4 |
* @summary make sure attribute and flow is skipped for implicit classes |
97722ad6c874
8030714: The steps attribute, flow and desugar are unnecessary for implicit classes when compiling with -implicit:none
alundblad
parents:
diff
changeset
|
5 |
* @compile/ref=SkipAttrFlowGenForImplicits.out -XDverboseCompilePolicy -implicit:none SkipAttrFlowGenForImplicits.java |
97722ad6c874
8030714: The steps attribute, flow and desugar are unnecessary for implicit classes when compiling with -implicit:none
alundblad
parents:
diff
changeset
|
6 |
*/ |
97722ad6c874
8030714: The steps attribute, flow and desugar are unnecessary for implicit classes when compiling with -implicit:none
alundblad
parents:
diff
changeset
|
7 |
class Explicit { |
97722ad6c874
8030714: The steps attribute, flow and desugar are unnecessary for implicit classes when compiling with -implicit:none
alundblad
parents:
diff
changeset
|
8 |
Implicit implicit; |
97722ad6c874
8030714: The steps attribute, flow and desugar are unnecessary for implicit classes when compiling with -implicit:none
alundblad
parents:
diff
changeset
|
9 |
} |