JEP draft: Prepare to Restrict The Use of JNI
Volker Simonis
volker.simonis at gmail.com
Tue Aug 29 14:46:19 UTC 2023
> (BTW, as far as I know, another integrity-conscious language, though not nearly as big and as popular as Java — Rust — also fails to fully guard against a problem of reusing live objects).
Not sure what you mean, but Rust provides functionality to zero
objects after use [1] . It is just an explicit feature which I think
is a deliberate choice (not every language tries to infantilize its
users :)
[1] https://docs.rs/zeroize/1.1.1/zeroize/
More information about the jdk-dev
mailing list