Review request: JDK-7162111 TEST_BUG: change tests run in headless mode [macosx] (open part) (original) (raw)

Alexey Utkin alexey.utkin at oracle.com
Thu Nov 22 07:38:03 UTC 2012


Bug description: https://jbs.oracle.com/bugs/browse/JDK-7162111

Here is the suggested fix that contains the changes in JFrameCreateTime.java: http://cr.openjdk.java.net/~uta/openjdk-webrevs/JDK-7162111/webrev.02

JPRT results:

http://prt-web.us.oracle.com//archive/2012/11/2012-11-21-165117.fritz.jdk/JobStatus.txt (no fails in modified tests)

I take in account the AWT problem on Mac OS: in ssh session due to compatibility reason AWT switches to X11 toolkit if DISPLAY variable is defined. But Mac OS implementation of X11 toolkit has a deadlock/linkage problems. In JDK8 the X11 toolkit support is obsolete and problem would be resolved by AWT team.

Regards, -uta

On 19.11.2012 20:57, Alan Bateman wrote:

On 19/11/2012 14:54, Alexey Utkin wrote:

Here is the updated version:

http://cr.openjdk.java.net/~uta/openjdk-webrevs/JDK-7162111/webrev.01/ In Foo.java then I assume Vector would be better. Well, I did the substitution that repeats the original. The Button class contains the base, not child-typed collection of the MouseListener </j2se6/api/java/awt/event/MouseListener.html> instances (not Adapters). I don't think you can remove the javax/script/** tests from the exclude list without adding -Djava.awt.headless=true to the @run tag of each of those tests. I did. It works. Otherwise looks fine to me. -Alan



More information about the core-libs-dev mailing list