Re: jmx-dev RFR 8057134: sun/management/jmxremote/startstop/JMXStartStopTest.java failing intermittently

2014-09-03 Thread Daniel Fuchs
Looks good! On 9/3/14 4:47 PM, Jaroslav Bachorik wrote: On 09/03/2014 04:30 PM, Daniel Fuchs wrote: Hi Jaroslav, - import java.net.ConnectException; java.net.ConnectException is not a RemoteException, but java.rmi.ConnectException is. I wonder whether the connect code may throw java.net.Conn

Re: jmx-dev RFR 8057134: sun/management/jmxremote/startstop/JMXStartStopTest.java failing intermittently

2014-09-03 Thread Jaroslav Bachorik
On 09/03/2014 04:30 PM, Daniel Fuchs wrote: Hi Jaroslav, - import java.net.ConnectException; java.net.ConnectException is not a RemoteException, but java.rmi.ConnectException is. I wonder whether the connect code may throw java.net.ConnectException, or whether the test was wrong in the first p

Re: jmx-dev RFR 8057134: sun/management/jmxremote/startstop/JMXStartStopTest.java failing intermittently

2014-09-03 Thread Staffan Larsen
Looks good! Thanks, /Staffan On 3 sep 2014, at 16:02, Jaroslav Bachorik wrote: > Please, review this test change > > Issue : https://bugs.openjdk.java.net/browse/JDK-8057134 > Webrev: http://cr.openjdk.java.net/~jbachorik/8057134/webrev.02 > > Currently the test expects one of the following e

Re: jmx-dev RFR 8057134: sun/management/jmxremote/startstop/JMXStartStopTest.java failing intermittently

2014-09-03 Thread Daniel Fuchs
Hi Jaroslav, - import java.net.ConnectException; java.net.ConnectException is not a RemoteException, but java.rmi.ConnectException is. I wonder whether the connect code may throw java.net.ConnectException, or whether the test was wrong in the first place. If the java.net.ConnectException may b

Re: jmx-dev RFR 8057150: Add more diagnostics to JMXStartStopTest

2014-09-03 Thread Jaroslav Bachorik
On 09/03/2014 03:57 PM, Daniel Fuchs wrote: Hi Jaroslav, Looks good. I wonder however - are these messages internationalized? If so could it be a locale/env issue (e.g. matching english against some other language)? I am not 100% certain. The strange thing is that you can see the error messa

jmx-dev RFR 8057134: sun/management/jmxremote/startstop/JMXStartStopTest.java failing intermittently

2014-09-03 Thread Jaroslav Bachorik
Please, review this test change Issue : https://bugs.openjdk.java.net/browse/JDK-8057134 Webrev: http://cr.openjdk.java.net/~jbachorik/8057134/webrev.02 Currently the test expects one of the following exception types when trying to connect to a port not being server by the management agent - N

Re: jmx-dev RFR 8057150: Add more diagnostics to JMXStartStopTest

2014-09-03 Thread Daniel Fuchs
Hi Jaroslav, Looks good. I wonder however - are these messages internationalized? If so could it be a locale/env issue (e.g. matching english against some other language)? best regards, -- daniel On 9/3/14 3:43 PM, Jaroslav Bachorik wrote: Please, review this trivial test change Issue : htt

Re: jmx-dev RFR 8057150: Add more diagnostics to JMXStartStopTest

2014-09-03 Thread Staffan Larsen
Looks good! Thanks, /Staffan On 3 sep 2014, at 15:43, Jaroslav Bachorik wrote: > Please, review this trivial test change > > Issue : https://bugs.openjdk.java.net/browse/JDK-8057150 > Webrev: http://cr.openjdk.java.net/~jbachorik/8057150/webrev.00 > > This change is to provide us with more in

jmx-dev RFR 8057150: Add more diagnostics to JMXStartStopTest

2014-09-03 Thread Jaroslav Bachorik
Please, review this trivial test change Issue : https://bugs.openjdk.java.net/browse/JDK-8057150 Webrev: http://cr.openjdk.java.net/~jbachorik/8057150/webrev.00 This change is to provide us with more info about why the test fails as described in https://bugs.openjdk.java.net/browse/JDK-8057149