JDK 13 RFR of JDK-8222378: Provide mechanism to query preview feature status for annotation processors

Jonathan Gibbons jonathan.gibbons at oracle.com
Mon Apr 15 21:22:58 UTC 2019


Looks good to me.

-- Jon


On 04/15/2019 01:35 PM, Joe Darcy wrote:
> 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