8031420: sun/management/jmxremote/bootstrap/CustomLauncherTest.java fails on some platforms: Unable to locate 'libjvm.so'

Reviewed-by: sla, chegar, sjiang
This commit is contained in:
Jaroslav Bachorik 2014-01-10 08:22:00 +01:00
parent 83ef2a16f5
commit a923f5c5d3

View File

@ -91,6 +91,12 @@ public class CustomLauncherTest {
return;
}
if (getPlatform() == null) {
System.out.println("Test not designed to run on this operating " +
"system (" + OSNAME + "), skipping...");
return;
}
final FileSystem FS = FileSystems.getDefault();
Path libjvmPath = findLibjvm(FS);
@ -223,8 +229,7 @@ public class CustomLauncherTest {
break;
}
default: {
System.out.println("Test not designed to run on this operating " +
"system (" + OSNAME + "), skipping...");
platform = null;
}
}