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

Vicente Romero vicente.romero at oracle.com
Wed Jun 17 19:23:40 UTC 2020



On 6/17/20 2:01 PM, Jonathan Gibbons wrote:
>
>
> 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.
>

yep that's a good point

> -- Jon
>

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


More information about the compiler-dev mailing list