Electrostat-Lab / Electrostat-Lab/jSnapLoader
add module info
- Dominant language
- Java
- Stars
- 9
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
JSnapLoader v1.1.1 does not define a module, so Java considers it part of the Unnamed Module.
For this reason, when jSnapLoader invokes the `System.load()` method, Java 24 issues a runtime warning:
```console
WARNING: A restricted method in java.lang.System has been called
```
This warning can be suppressed using `--enable-native-access=ALL-UNNAMED`. However, this workaround is risky from a security standpoint because it might give access to large swaths of code that don't need such access.
To mitigate this risk, it would better if jSnapLoader defined its own module, which should probably be named `electrostatic4j.snaploader`.
Contributor guide
Assessment
This issue has not been assessed yet.