Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove DLLCallback import from CallbackReference #1279

Closed
dyorgio opened this issue Dec 1, 2020 · 1 comment
Closed

Remove DLLCallback import from CallbackReference #1279

dyorgio opened this issue Dec 1, 2020 · 1 comment

Comments

@dyorgio
Copy link
Contributor

dyorgio commented Dec 1, 2020

Provide complete information about the problem

  1. Version of JNA and related jars
    jna-5.6.0.jar

  2. Version and vendor of the java virtual machine
    zulu8.46.0.19-ca-fx-jdk8.0.252-macosx_x64 (Azul)

  3. Operating system
    macOS BigSur 11.0.1

  4. System architecture (CPU type, bitness of the JVM)
    x64, x64

  5. Complete description of the problem

To reduce final uber-jar, I remove some packages accourding with OS target, to Mac and Linux I removed com.sun.jna.win32.
Removing it throws java.lang.NoClassDefFoundError: com/sun/jna/win32/DLLCallback, because class was removed :).

  1. Steps to reproduce
    Remove package com.sun.jna.win32 and try to use Callbacks in any other OS.
@matthiasblaesing
Copy link
Member

Fix was merged to master.

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

No branches or pull requests

2 participants