On Tue, 9 Apr 2024 10:01:59 GMT, Suchismith Roy <s...@openjdk.org> wrote:
>> test/jdk/java/lang/RuntimeTests/loadLibrary/aix/LoadAIXLibraryFromArchiveObject.java >> line 37: >> >>> 35: File awtSharedObjectPath = new File("/test/lib/libawt.so"); >>> 36: File awtArchivePath = new File("/test/lib/libawt.a"); >>> 37: awtSharedObjectPath.renameTo(awtArchivePath); >> >> This should work for this test. But, what if an AWT test gets executed after >> your test? I think copy is safer than renaming. > > Maybe i need to rename it back. If we just copy, it would take the .so > itself, so we cant enforce it. No, you would just need to change the name to maybe "libdummyarchive.a". ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/17945#discussion_r1559030522