RFR JDK-8245842: provide tests for binary compatibility assertions for sealed classes

Jonathan Gibbons jonathan.gibbons at oracle.com
Wed Jun 17 18:01:54 UTC 2020


On 6/17/20 10:29 AM, Vicente Romero wrote:
>
>
>>
>> Separately, as a separate RFE for toolbox tasks, we might want to add 
>> a 'enablePreview' method to the task that cases the right underlying 
>> options to be set. This could be a method on AbstractTask, with 
>> possible overrides in the specific task classes.  This would make it 
>> easier to mark a task as needing preview features, and for the method 
>> call to be removed, eventually, when the preview feature becomes 
>> standard.
>
> yep this could be done although it won't be a big change compared to 
> the current situation I guess


Agreed it is not a big deal, but it just simplifies (a bit) the work to 
update tests like these when the feature becomes standard.

-- Jon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20200617/84ae869a/attachment.htm>


More information about the compiler-dev mailing list