Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: JRuby 1.6.6, JRuby 1.7.0.pre1
-
Component/s: Ruby 1.9.3
-
Labels:None
-
Number of attachments :
Description
The applet does not work in the 1.9 mode. This is most likely due to security restriction. This supersedes JRUBY-3900.
Issue Links
- supercedes
-
JRUBY-3900
Can't run with 1.9 compatibility in browser (Firefox 3.0.13, Java 1.5.0_19); easy to check with tweak to stock JRubyApplet
-
Fixed on master@c16533a and jruby-1_6@a972c2f.
commit c16533a24b0ca2d5307614e5b06aabdb790534be Author: Charles Oliver Nutter <headius@headius.com> Date: Sat Dec 31 16:47:43 2011 -0600 Fix JRUBY-6281: [1.9] Applet does not work in the 1.9 mode For 1.9 mode we canonicalize loaded paths to make sure we are not double-loading files that are required in different ways, and so we can properly use per-file locking around requires. However, in a restricted environment we may not be able to canonicalize. My fix falls back on just using the literal require name in such cases. I also split the test-security-manager task into 1.8 and 1.9 versions.