On Thu, 4 Apr 2024 17:38:31 GMT, Mandy Chung <mch...@openjdk.org> wrote:
>> test/jdk/java/lang/RuntimeTests/loadLibrary/LoadLibraryTestAIX.java line 38: >> >>> 36: } catch (Exception e) { >>> 37: throw new RuntimeException("LoadLibraryTestAIX : could not >>> load libperfstat.a"+e); >>> 38: } >> >> Nit: the catch clause is not strictly needed. `UnsatisfiedLinkError` is an >> unchecked exception. The test should fail if you run it with JDK without >> this fix. > > The test should verify if `/usr/lib/libperstat.a` is present and also > `/usr/lib/libperfstat.so` is not present. > > Do you expect all AIX machines do not have `/usr/lib/libperfstat.so`? Yes it is expected. the hotspot code has harcoded it to .a file. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/17945#discussion_r1553156812