RFR: 8227257: javax/swing/JFileChooser/4847375/bug4847375.java fails with AssertionError
Alexey Ivanov
aivanov at openjdk.org
Fri Jan 6 20:42:52 UTC 2023
On Fri, 6 Jan 2023 20:22:53 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> This assertion happens when we try to build the path linked by the shortcut file when part of that path is not accessible. For example, if the ".lnk" file is pointed to the "windows-update. settings" inside the "Internet.settings".
>>
>> After the change, we will skip the target of the link if any part of the path to the target is not a folder and is not traversable in JFileChooser.
>
> test/jdk/javax/swing/JFileChooser/4847375/bug4847375.java line 26:
>
>> 24: /*
>> 25: * @test
>> 26: * @bug 4847375 8171363 8227257
>
> Could you also add an option to run this test with assertions when using jtreg directly like you did for the new test?
Could you update the copyright year in other modified files too?
-------------
PR: https://git.openjdk.org/jdk/pull/11789
More information about the client-libs-dev
mailing list