RFR: 8303374: Implement JEP 455: Primitive Types in Patterns, instanceof, and switch (Preview) [v45]
Vicente Romero
vromero at openjdk.org
Wed Jan 24 20:31:34 UTC 2024
On Wed, 24 Jan 2024 18:26:08 GMT, Aggelos Biboudis <abimpoudis at openjdk.org> 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
More information about the core-libs-dev
mailing list