java-native-access / java-native-access/jna
Add support for EXCEPTION_FLT_DIVIDE_BY_ZERO
Open
Nobody has claimed this yet.
feature request
- Dominant language
- Java
- Stars
- 8.9k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Some native API change the FPU control word (documented). Add an option to reset it before return to Java. Because Java crash unexpected if this flag was set.
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
The issue names no files, tests, or entry points. Start by tracing where native calls return to Java and reviewing existing options for controlling native state. Done means an option can reset the FPU control word before returning to Java, with coverage for EXCEPTION_FLT_DIVIDE_BY_ZERO.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100