On Wed, 24 Jan 2024 18:26:08 GMT, Aggelos Biboudis <[email protected]>
wrote:
>> test/langtools/tools/javac/patterns/CastConversionMatch.java line 6:
>>
>>> 4: * @summary Match which involves a cast conversion
>>> 5: * @compile/fail/ref=CastConversionMatch.out -XDrawDiagnostics
>>> CastConversionMatch.java
>>> 6: * @compile --enable-preview --source ${jdk.version}
>>> CastConversionMatch.java */
>>
>> @enablePreview?
>
> I have two compile commands. Wanted to test one with and one without preview.
right missed that sorry
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15638#discussion_r1465499180