8136600: KinitConfPlusProps.java test intermittently fails because PortUnreachableException is missing
Reviewed-by: weijun
--- 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);