shadow
shadow copied to clipboard
Native methods should not be relocated in the Java code
Shadow Version
5.2.0
Gradle Version
5.6.4
Expected Behavior
Native functions should not be relocated in the Java code that's being relocated. The shared libraries' functions are hard coded and so native functions should not be relocated.
Actual Behavior
Native functions are being relocated in the Java code that's being relocated.
Have you found any workaround for the issue? I'm seeing the same behavior with rocksdbjni using automatic relocation. The Java classes are moved to the shadowed package, but the natives are not.
If your question was directed toward me, haven't. Sorry.
Any reproducer for this? I'm planning to fix it.