8136600: KinitConfPlusProps.java test intermittently fails because PortUnreachableException is missing
authorasmotrak
Tue, 29 Sep 2015 18:01:33 +0300
changeset 32837 e331a1a5a621
parent 32836 68073065a22f
child 32838 caeef2c79243
8136600: KinitConfPlusProps.java test intermittently fails because PortUnreachableException is missing Reviewed-by: weijun
jdk/test/sun/security/krb5/auto/tools/KinitConfPlusProps.java
--- a/jdk/test/sun/security/krb5/auto/tools/KinitConfPlusProps.java	Tue Sep 29 17:26:14 2015 +0300
+++ b/jdk/test/sun/security/krb5/auto/tools/KinitConfPlusProps.java	Tue Sep 29 18:01:33 2015 +0300
@@ -22,7 +22,6 @@
  */
 
 import java.io.File;
-import java.net.PortUnreachableException;
 import java.util.HashMap;
 import java.util.Map;
 import jdk.testlibrary.ProcessTools;
@@ -86,7 +85,6 @@
         try {
             OutputAnalyzer out = ProcessTools.executeCommand(command);
             out.shouldHaveExitValue(-1);
-            out.shouldContain(PortUnreachableException.class.getName());
         } catch(Throwable e) {
             System.out.println("Unexpected exception: " + e);
             e.printStackTrace(System.out);