Closed
Description
- Version of JNA and related jars
0774f82 master - Version and vendor of the java virtual machine
java 17.0.2 2022-01-18 LTS
Java(TM) SE Runtime Environment (build 17.0.2+8-LTS-86)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.2+8-LTS-86, mixed mode, sharing) - Operating system
macOS Monterey 12.2.1 (21D62) - System architecture (CPU type, bitness of the JVM)
Apple M1 Pro - Complete description of the problem
[junit] Testsuite: com.sun.jna.NativeLibraryTest
[junit] Tests run: 22, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.21 sec
[junit]
[junit] Testcase: testAvoidDuplicateLoads(com.sun.jna.NativeLibraryTest): FAILED
[junit] Library should be newly loaded after explicit dispose of all native libraries expected:<1> but was:<10>
[junit] junit.framework.AssertionFailedError: Library should be newly loaded after explicit dispose of all native libraries expected:<1> but was:<10>
[junit] at com.sun.jna.NativeLibraryTest.testAvoidDuplicateLoads(NativeLibraryTest.java:91)
[junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit]
[junit]
[junit] Test com.sun.jna.NativeLibraryTest FAILED - Steps to reproduce
ant
Metadata
Metadata
Assignees
Labels
No labels