Replies: 1 comment 5 replies
-
This is just an oversight. I added the packages to the master branch. Does this work now? If so, it will be included like this in the next release. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am using byte-buddy in an OSGi context, running with a JRE (not a JDK), and therefore wanted to use the JNA-based agent attachment.
The problem is that the byte-buddy-agent bundle has no visibility on JNA by default, even though JNA is also deployed as an OSGi bundle in the same application.
Currently, the MANIFEST.MF file for byte-buddy-agent only contains:
Import-Package: com.sun.tools.attach;resolution:=optional,com.ibm.tools.attach;resolution:=optional
The following change seems to fix the issue for us:
Import-Package: com.sun.tools.attach;resolution:=optional,com.ibm.tools.attach;resolution:=optional,com.sun.jna;resolution:=optional,com.sun.jna.platform;resolution:=optional,com.sun.jna.platform.win32;resolution:=optional,com.sun.jna.win32;resolution:=optional,com.sun.jna.ptr;resolution:=optional
Was such a change ever considered?
Beta Was this translation helpful? Give feedback.
All reactions