-
Bug
-
Resolution: Unresolved
-
P4
-
10, 11, 14
-
x86
-
os_x
ADDITIONAL SYSTEM INFORMATION :
JDK under test: /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)
A DESCRIPTION OF THE PROBLEM :
The test java/awt/dnd/URIListBetweenJVMsTest/URIListBetweenJVMsTest.html fails on MacOSX with the message: "Target has recieved wrong number of files"
Please note sometimes the test fails by timeout. Timeouts was also observed on Linux.
The issues were not observed on Windows
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
$ jtreg -ignore:quiet -v -a -xml -testjdk:"/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home/" -javaoptions:"-Djava.awt.headless=false" test/java/awt/dnd/URIListBetweenJVMsTest/URIListBetweenJVMsTest.html
ACTUAL -
#section:applet
----------messages:(4/215)----------
command: applet URIListBetweenJVMsTest.html
reason: User specified action: run applet/othervm URIListBetweenJVMsTest.html
Additional options from @modules: --add-modules java.desktop
elapsed time (seconds): 12.587
----------System.out:(1/38)----------
Toolkit = sun.lwawt.macosx.LWCToolkit
----------System.err:(41/3294)----------
========= Child VM System.err ========
java.lang.IllegalArgumentException: URI is not absolute
at java.base/java.io.File.<init>(File.java:416)
at TargetFileListFrame.extractListOfFiles(TargetFileListFrame.java:119)
at TargetFileListFrame.drop(TargetFileListFrame.java:92)
at java.desktop/java.awt.dnd.DropTarget.drop(DropTarget.java:452)
at java.desktop/sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:547)
at java.desktop/sun.lwawt.macosx.CDropTargetContextPeer.processDropMessage(CDropTargetContextPeer.java:129)
at java.desktop/sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:863)
at java.desktop/sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:787)
at java.desktop/sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:48)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4831)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
ERROR: Expected file number:8; Received file number: 0
======================================
java.lang.RuntimeException: TEST IS FAILED: Target has recieved wrong number of files.
at URIListBetweenJVMsTest.verifyTestResults(URIListBetweenJVMsTest.java:93)
at URIListBetweenJVMsTest.start(URIListBetweenJVMsTest.java:84)
at com.sun.javatest.regtest.agent.AppletWrapper$AppletRunnable.run(AppletWrapper.java:158)
at java.base/java.lang.Thread.run(Thread.java:844)
STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: TEST IS FAILED: Target has recieved wrong number of files.
---------- BEGIN SOURCE ----------
http://hg.openjdk.java.net/jdk10/jdk10/jdk/file/777356696811/test/java/awt/dnd/URIListBetweenJVMsTest/URIListBetweenJVMsTest.java
---------- END SOURCE ----------
FREQUENCY : often
JDK under test: /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)
A DESCRIPTION OF THE PROBLEM :
The test java/awt/dnd/URIListBetweenJVMsTest/URIListBetweenJVMsTest.html fails on MacOSX with the message: "Target has recieved wrong number of files"
Please note sometimes the test fails by timeout. Timeouts was also observed on Linux.
The issues were not observed on Windows
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
$ jtreg -ignore:quiet -v -a -xml -testjdk:"/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home/" -javaoptions:"-Djava.awt.headless=false" test/java/awt/dnd/URIListBetweenJVMsTest/URIListBetweenJVMsTest.html
ACTUAL -
#section:applet
----------messages:(4/215)----------
command: applet URIListBetweenJVMsTest.html
reason: User specified action: run applet/othervm URIListBetweenJVMsTest.html
Additional options from @modules: --add-modules java.desktop
elapsed time (seconds): 12.587
----------System.out:(1/38)----------
Toolkit = sun.lwawt.macosx.LWCToolkit
----------System.err:(41/3294)----------
========= Child VM System.err ========
java.lang.IllegalArgumentException: URI is not absolute
at java.base/java.io.File.<init>(File.java:416)
at TargetFileListFrame.extractListOfFiles(TargetFileListFrame.java:119)
at TargetFileListFrame.drop(TargetFileListFrame.java:92)
at java.desktop/java.awt.dnd.DropTarget.drop(DropTarget.java:452)
at java.desktop/sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:547)
at java.desktop/sun.lwawt.macosx.CDropTargetContextPeer.processDropMessage(CDropTargetContextPeer.java:129)
at java.desktop/sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:863)
at java.desktop/sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:787)
at java.desktop/sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:48)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4831)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
ERROR: Expected file number:8; Received file number: 0
======================================
java.lang.RuntimeException: TEST IS FAILED: Target has recieved wrong number of files.
at URIListBetweenJVMsTest.verifyTestResults(URIListBetweenJVMsTest.java:93)
at URIListBetweenJVMsTest.start(URIListBetweenJVMsTest.java:84)
at com.sun.javatest.regtest.agent.AppletWrapper$AppletRunnable.run(AppletWrapper.java:158)
at java.base/java.lang.Thread.run(Thread.java:844)
STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: TEST IS FAILED: Target has recieved wrong number of files.
---------- BEGIN SOURCE ----------
http://hg.openjdk.java.net/jdk10/jdk10/jdk/file/777356696811/test/java/awt/dnd/URIListBetweenJVMsTest/URIListBetweenJVMsTest.java
---------- END SOURCE ----------
FREQUENCY : often