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

Jan Lahoda jan.lahoda at oracle.com
Tue Apr 16 07:47:19 UTC 2019


Looks OK to me.

Jan

On 15. 04. 19 22:35, 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