You're already acquiring superpowers and voiding any warranty by calling
putenv from JNI.  Why not go further and do your reflective shenanigans via
JNI as well?  In practice, if hotspot has started up and only one java
thread is doing anything, putenv is unlikely to cause a crash (and probably
none of your users have reported any such crash).

Reply via email to