< prev index next >

test/jdk/jdk/jfr/event/runtime/TestNativeLibrariesEvent.java

Print this page
rev 59103 : imported patch hotspot

*** 71,83 **** 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()) { libTemplate = "%s.dll"; } else if (Platform.isOSX()) { libTemplate = "lib%s.dylib"; } else if (Platform.isLinux()) { libTemplate = "lib%s.so"; --- 71,81 ---- assertTrue(expectedLibs.isEmpty(), "Missing libraries:" + expectedLibs.stream().collect(Collectors.joining(", "))); } private static List<String> getExpectedLibs() throws Throwable { String libTemplate = null; ! 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 >