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

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

Bug description:

Here is the suggested fix that contains the changes in

JPRT results:
(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.


On 19.11.2012 20:57, Alan Bateman wrote:
> On 19/11/2012 14:54, Alexey Utkin wrote:
>> Here is the updated version:
> In then I assume Vector<TestElement> 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