History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: JRUBY-1762
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Charles Oliver Nutter
Reporter: Vladimir Sizikov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JRuby

IRBApplet fails to start due to various security restrictions

Created: 21/Dec/07 01:37 PM   Updated: 23/Apr/08 10:03 AM
Component/s: Core Classes/Modules
Affects Version/s: JRuby 1.1+
Fix Version/s: JRuby 1.1RC1

Time Tracking:
Not Specified

File Attachments: 1. Text File jirb-in-applet-fails-due-security.patch.patch (9 kb)

Environment: Latest JRuby 1.1b1 built from today's trunk

Patch Submitted: Yes


 Description  « Hide
Any attempts to load org.jruby.demo.IRBApplet fail due to various security related issues.
The most critical one is NPE from LateLoadingLibrary (used when 'readline' is requested).

Also, when the NPE is resolved, IRBApplet is not very useful and dies when users try to open files and perform some other
basic things in the IRB.

The proposed patch closes most common issues, and when applied, JIRB is actually useful and working fine.

Note: I tested that "ant test" passes and executed rubinius spec to see that there are no major problems with the patch.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Charles Oliver Nutter - 21/Dec/07 03:09 PM
Changes look good, thanks. Committed in 5329.