jmx-dev RFR 8057134:	sun/management/jmxremote/startstop/JMXStartStopTest.java	failing intermittently
    Staffan Larsen 
    staffan.larsen at oracle.com
       
    Wed Sep  3 14:30:12 UTC 2014
    
    
  
Looks good!
Thanks,
/Staffan
On 3 sep 2014, at 16:02, Jaroslav Bachorik <jaroslav.bachorik at oracle.com> 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 exception types when trying to connect to a port not being server by the management agent - NoSuchObjectException and ConnectException. However, under certain circumstances RMI might throw ConnectIOException or any other suiting subtype of RemoteException.
> 
> The solution is to check for the thrown exception being a subtype of RemoteException instead.
> 
> Thanks,
> 
> -JB-
    
    
More information about the serviceability-dev
mailing list