Can't extend a class in default package
---------------------------------------

                 Key: JRUBY-2865
                 URL: http://jira.codehaus.org/browse/JRUBY-2865
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
    Affects Versions: JRuby 1.1.3
            Reporter: Charles Oliver Nutter
            Assignee: Charles Oliver Nutter
             Fix For: JRuby 1.1.4


Given a class X in default package and a Ruby class Y that extends it, the 
following error results on call to 'new': 

{noformat}
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)
{noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to