-
Notifications
You must be signed in to change notification settings - Fork 3
Open
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:
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
.
Metadata
Metadata
Assignees
Labels
No labels