JNI Version 9 and 10
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2.6k
- Forks
- 174
- PR merge metrics
- No merged PRs in 30d
Description
It appears that packr currently supports only JNI Version 6 and 8
But there are now two newer versions (link). JNI_VERSION_10 is used for Java 10 through to at least 17.
#define JNI_VERSION_9 0x00090000
#define JNI_VERSION_10 0x000a0000
I haven't encountered any problems with this so far, but I know that I did need to set "jniVersion": 8 in my config.json. For people upgrading to newer JVMs, if you are encountering issues with JNI, you might want to investigate here.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in PackrLauncher/src/main/cpp/packr.cpp around lines 582-590 and PackrLauncher/src/main/headers/packr.h around lines 23-25, then compare the current JNI version handling with the linked JNI specification. Done means newer JVMs using JNI_VERSION_9 or JNI_VERSION_10 are supported without requiring users to set jniVersion to 8.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100