Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: JRuby 0.9.9
-
Fix Version/s: JRuby 1.1
-
Component/s: Interpreter
-
Labels:None
-
Environment:
« Hide
macosx 10.4.9, JRuby 0.9.9 svn3467,
java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164) Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
-
Testcase included:yes
Description
I know $SAFE levels are not really supported by JRuby for now, reporting anyway.
Setting the $SAFE level to 4 freezes the VM (escape with CTRL-C still possible).
Might have some interest.
We very much appreciate reports on safe level bugs, especially with provided tests. If there's any test suites out there that hit safe levels and unsafe features like tainting really hard we'd love to know about it.
So how about your opinion on one thing: since safe levels are fairly broken in JRuby right now, should we just disable them and display a warning when someone sets safe levels? It seems the best case for broken safe levels would be that they don't actually do anything, since code would continue to run correctly.