Quote:
Originally Posted by photon
Overall there's been a lot of questions around Oracle and their stewardship of Java since they purchased Sun.
|
More so I'd say it's an absolutely fricking condemnation of the idea that running JIT compiled code in a so-called "sandbox" could or would ever be secure - Java exploits are nothing new since Oracle took the reins.
I actually wonder if moving away from just-in-time compilation to native code and simply interpreting the Java bytecode would be more secure - it would be somewhat harder for the exploits to break out of the sandbox if they weren't already executing as native x86 code (although maybe they could still emit x86 code outside sandbox memory and get it to run, who knows).
For many client-side Java apps, I bet the performance hit to do interpreted runs vs JIT compilation wouldn't be that bad, and maybe worth it if it improved security.