adamdruppe / arsd

This is a collection of modules that I've released over the years. Most of them stand alone, or have just one or two dependencies in here, so you don't have to download this whole repo.
http://arsd-official.dpldocs.info/arsd.html
531 stars 128 forks source link

jni.d alternative #265

Closed AlLiberali closed 3 years ago

AlLiberali commented 4 years ago

This module helps a lot But its outdated as hell (Java 6) do you know any newer modules?

adamdruppe commented 4 years ago

On Fri, Oct 09, 2020 at 04:46:27AM -0700, Nader Jafari wrote:

But its outdated as hell (Java 6)

There's been only one change to JNI since then, a new function called GetModule, added in version 9.

I added it just now, but it doesn't really affect this lib.

The big thing you can try is to make a copy of jni.d for yourself and change the JNI_VERSION_DESIRED value to 0x000a0000 instead of the VERSION_6 it is now. That will give you the newest version it offers. idk if it would change anything.

Let me know if there's specific problems you have.

adamdruppe commented 4 years ago

BTW if it does change things let me know about that too since editing that value from code instead of modifying the source is something maybe worth trying, or it can just ask for newest and walk down until it gets one that works.