On Fri, 14 May 2021 19:46:03 GMT, Alexander Zuev <[email protected]> wrote:
>> Fix updated after first round of review.
>
> Alexander Zuev has updated the pull request incrementally with one additional
> commit since the last revision:
>
> Slight change of wording in javadoc
> Fixed Win32ShellFolder2.getSystemIcon scaling issue
src/java.desktop/share/classes/javax/swing/filechooser/FileSystemView.java line
271:
> 269: * Example: <pre>
> 270: * FileSystemView fsv = FileSystemView.getFileSystemView();
> 271: * Icon icon = fsv.getSystemIcon("application.exe", 64);
Shouldn't the first parameter be a File instance instead of String?
`Icon icon = fsv.getSystemIcon(new File("application.exe"), 64);`
-------------
PR: https://git.openjdk.java.net/jdk/pull/2875