On Wed, 27 Jul 2022 15:15:35 GMT, Andy Goryachev <[email protected]> wrote:
>> Abhishek Kumar has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> space added as per review comment
>
> src/java.desktop/share/classes/sun/swing/FilePane.java line 1193:
>
>> 1191: setIcon(icon);
>> 1192:
>> 1193: } else if (value instanceof Long len) {
>
> quick question:
> can we use pattern matching (value instanceof Long len) here? won't this
> create a problem in java8 ?
As this don't get back ported to java 8 , so I guess it won't create any
problem.
-------------
PR: https://git.openjdk.org/jdk/pull/9327