[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: RFR 8043572: demo/jvmti/mtrace/TraceJFrame.java fails with AWTError: Can't connect to X11 window
From:       Staffan Larsen <staffan.larsen () oracle ! com>
Date:       2014-05-23 10:29:00
Message-ID: B5905E99-92AF-49CA-990E-8BC4EB2517EE () oracle ! com
[Download RAW message or body]

Good one! I missed that TraceJFrame and JFrameCreateTime were different…

Reviewed.

/Staffan

On 23 maj 2014, at 11:54, Jaroslav Bachorik <jaroslav.bachorik@oracle.com> wrote:

> Please, review a simple test fix.
> 
> Issue : https://bugs.openjdk.java.net/browse/JDK-8043572
> Webrev: http://cr.openjdk.java.net/~jbachorik/8043572/webrev.00
> 
> The reason of failure is similar to JDK-8039432. Test tries to access the graphics \
> subsystem unconditionally and on headless system it fails. The solution is to \
> include the check for the presence of the graphics subsystem. 
> The patch also contains slight changes to the failure message wording in \
> TraceJFrame to make it distinguishable from a failure occurring in \
> JFrameCreateTime. 
> Thanks,
> 
> -JB-


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic