Class after #become_java! should return correct full-path name
--------------------------------------------------------------

                 Key: JRUBY-4601
                 URL: http://jira.codehaus.org/browse/JRUBY-4601
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.4
         Environment: linux x86_64
            Reporter: Piotr Gęga
            Assignee: Thomas E Enebo


X::A.become_java!
puts X::A.java_class # => class ruby.A, shouldn't be class ruby.X.A ?

and

puts C == Y::C #=>false

Y::C.become_java!
C.become_java! 

#ClassLoader.java:-2:in `defineClass1': java.lang.LinkageError: loader 
(instance of  org/jruby/util/JRubyClassLoader): attempted  duplicate class 
definition for name: "ruby/C"



full source code -> http://pastie.org/842348

-- 
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