JDK 13 RFR of JDK-8222378: Provide mechanism to query preview feature status for annotation processors
Joe Darcy
joe.darcy at oracle.com
Mon Apr 15 20:35:10 UTC 2019
PS Updated test to cover the default method in
http://cr.openjdk.java.net/~darcy/8222378.1
-Joe
On 4/12/2019 1:53 PM, Joe Darcy wrote:
> Hello,
>
> Please review the code changes and CSR to address:
>
> JDK-8222378: Provide mechanism to query preview feature status for
> annotation processors
> webrev: http://cr.openjdk.java.net/~darcy/8222378.0/
> CSR: https://bugs.openjdk.java.net/browse/JDK-8222424
>
> In brief, a isPreviewEnabled predicate default method is added to
> ProcessingEnvironment to allow processors to query whether or not
> preview features (JEP 12) are enabled.
>
> Thanks,
>
> -Joe
>
More information about the compiler-dev
mailing list