JDK-6804834 : api/java_awt/awt_focus_subsystem/event_delivery/index.html#EventDelivery hangs since JDK7 b27
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: solaris
  • CPU: x86
  • Submitted: 2009-02-12
  • Updated: 2012-03-22
  • Resolved: 2009-05-08
Related Reports
Relates :  
Relates :  
Description
JCK            : JCK 7 b10 
J2SE           : FAIL - since jdk 1.7.0 build 27 
Platform[s]    : FAIL - Solaris 10 i586 (x64)
Java options   : FAIL - -Xcomp (may hang with -Xint)

api/java_awt/awt_focus_subsystem/event_delivery/index.html#EventDelivery test (which is new in jck7) hangs with a deadlock when run on solaris x86 (32 and 64 bit jvm) with -Xcomp option. This failure can be traced back up to b27 of jdk7 (for b27 it hangs with -Xint option also). Please see jstack output in comments.

Steps to reproduce:
1. Install jdk (for ex. to /export/jdk/jdk1.7.0)
2. Install JCK7 (for ex. to /export/JCK/JCK-runtime-7)
3. Prepare a simple script to run a test (run.sh) of the following content
#!/bin/bash 

export JAVA=/export/jdk/jdk1.7.0/bin/java
export CLASSPATH="/export/JCK/JCK-runtime-7/classes"

OPTS="-Xcomp" # fails 
TEST="javasoft.sqe.tests.api.java.awt.Event.awt_focus_subsystem.event_delivery.EventDeliveryTests"
TOPTS=""

$JAVA $OPTS -version
$JAVA $OPTS $TEST $TOPTS

Installed jck could be found at /java/re/jck/7/promoted/latest/binaries/JCK-runtime-7/
Test source is /java/re/jck/7/promoted/latest/binaries/JCK-runtime-7/tests/api/java_awt/awt_focus_subsystem/event_delivery/EventDeliveryTests.java

Comments
EVALUATION The bug has been fixed by the changes for 6724890 (integrated in jdk7 55). The problem shouldn't be reproducible on latest jdk7 build any more. So it's closed. Please reopen the bug if the problem still exists.
08-05-2009