-
Bug
-
Resolution: Fixed
-
P4
-
17, 21
-
b08
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8340348 | 21.0.6 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8340351 | 17.0.14 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8340130 | 17.0.13 | Goetz Lindenmaier | P4 | Resolved | Fixed | b08 |
java.lang.UnsatisfiedLinkError: Native Library .../test/jdk/jtreg/native/libCreationTimeHelper.so already loaded in another classloader
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:201)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174)
at java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:315)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:287)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2427)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
at java.base/java.lang.System.loadLibrary(System.java:2006)
at CreationTimeHelper.<clinit>(CreationTimeHelper.java:26)
at CreationTime.test(CreationTime.java:106)
at CreationTime.main(CreationTime.java:149)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:840)
The fix applies only to 21 and older as the test uses JNI here, while using FFM API in 22 and yougner.
Fix: run one of the two tests as /othervm.
- backported by
-
JDK-8340130 [21u] Test CreationTime.java fails with UnsatisfiedLinkError after 8334339
- Resolved
-
JDK-8340348 [21u] Test CreationTime.java fails with UnsatisfiedLinkError after 8334339
- Resolved
-
JDK-8340351 [21u] Test CreationTime.java fails with UnsatisfiedLinkError after 8334339
- Resolved
- relates to
-
JDK-8334339 Test java/nio/file/attribute/BasicFileAttributeView/CreationTime.java fails on alinux3
- Resolved
- links to
-
Commit(master) openjdk/jdk17u/9eab2ce8
-
Commit(master) openjdk/jdk21u/34b4bd44
-
Review(master) openjdk/jdk17u/398
-
Review(master) openjdk/jdk21u/453