Hello, please review this small test related change .

Current status is that    test  bug4847375.java    (which is Windows only)    
fails  on  our test machines .
Background is the following  :
- we execute  (almost?) always  with  assertions enabled   ( -ea -esa )
- we have in our Windows  setups some strange shellfolders   that trigger the 
issue

java.lang.reflect.InvocationTargetException
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1367)
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342)
at 
java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
at bug4847375.main(bug4847375.java:53)
  ...
Caused by: java.lang.AssertionError
at 
java.desktop/sun.awt.shell.Win32ShellFolder2$4.call(Win32ShellFolder2.java:440)
at 
java.desktop/sun.awt.shell.Win32ShellFolder2$4.call(Win32ShellFolder2.java:438)


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

Reply via email to