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

Key: JRUBY-2865
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Charles Oliver Nutter
Reporter: Charles Oliver Nutter
Votes: 0
Watchers: 1
Operations

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

Can't extend a class in default package

Created: 24/Jul/08 06:18 PM   Updated: 25/Aug/08 06:19 PM
Component/s: Java Integration
Affects Version/s: JRuby 1.1.3
Fix Version/s: JRuby 1.1.4

Time Tracking:
Not Specified


 Description  « Hide
Given a class X in default package and a Ruby class Y that extends it, the following error results on call to 'new':
Caused by: java.lang.ClassFormatError: Illegal class name "org/jruby/proxy//X$Proxy0" in class file org/jruby/proxy//X$Proxy0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Charles Oliver Nutter - 25/Aug/08 06:19 PM
Fixed in r7532.