Skip to content

Conversation

@craigraw
Copy link
Contributor

Currently, the JNAeator generated code loads the openpnp-capture twice, leading to the following warning:

Class PlatformAVCaptureDelegate is implemented in both ../Library/Caches/JNA/temp/jna10042956694623537098.tmp (0x14b6ac5f8) and ../Library/Caches/JNA/temp/jna8716218045893292183.tmp (0x14b7345f8). One of the two will be used. Which one is undefined.

The warning is harmless but unncessary, since Native.load calls NativeLibrary.getInstance anyway and JNA_NATIVE_LIB is never referenced. This PR comments out one of the load directives to remove the warning.

@vonnieda
Copy link
Member

Note: Closing and re-opening to re-run tests.

@vonnieda vonnieda closed this Nov 11, 2025
@vonnieda vonnieda reopened this Nov 11, 2025
@vonnieda vonnieda closed this Nov 11, 2025
@vonnieda vonnieda reopened this Nov 11, 2025
@vonnieda vonnieda merged commit 0650424 into openpnp:main Nov 12, 2025
1 of 3 checks passed
@vonnieda
Copy link
Member

Thanks @craigraw!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants