< prev index next >
test/jdk/jdk/jfr/event/runtime/TestNativeLibrariesEvent.java
Print this page
rev 59103 : imported patch hotspot
@@ -71,13 +71,11 @@
assertTrue(expectedLibs.isEmpty(), "Missing libraries:" + expectedLibs.stream().collect(Collectors.joining(", ")));
}
private static List<String> getExpectedLibs() throws Throwable {
String libTemplate = null;
- if (Platform.isSolaris()) {
- libTemplate = "lib%s.so";
- } else if (Platform.isWindows()) {
+ if (Platform.isWindows()) {
libTemplate = "%s.dll";
} else if (Platform.isOSX()) {
libTemplate = "lib%s.dylib";
} else if (Platform.isLinux()) {
libTemplate = "lib%s.so";
< prev index next >