<AWT Dev> RFR: 8227257: javax/swing/JFileChooser/4847375/bug4847375.java fails with AssertionError
matthias.baesken at sap.com
Tue Oct 22 08:06:24 UTC 2019
Hi Sergey ,
> We also run the tests using -ea/-esa parameters
It is the combination of running the tests with ea/esa AND our strange setup ;
the assertion occurred when handling in the isDirectory - method of Win32ShellFolder2 a ShellFolder with display name "The Internet" which has attribute ATTRIB_BROWSABLE but not ATTRIB_FOLDER set.
And I am not even 100% sure that the assertion we see is correct in this case.
Best regards, Matthias
> Hi Matthias,
> We also run the tests using -ea/-esa parameters but I do not remember
> that we get such assertions if you found them then you a lucky because
> our assertion found the bug in the implementation, I do not think to
> hide the problem is a right thing to do.
> On 10/18/19 5:37 am, Baesken, Matthias wrote:
> > at
> > So I think it is probably the best to disable assertions for the test
> because the combination -ea/-esa + strange Shellfolder setup is not seen
> very often .
> > Bug/webrev :
> > https://bugs.openjdk.java.net/browse/JDK-8227257
> > http://cr.openjdk.java.net/~mbaesken/webrevs/8227257.0/
> > Thanks, Matthias
> Best regards, Sergey.
More information about the awt-dev