#java_class is lost (returns nil) after singleton created ---------------------------------------------------------
Key: JRUBY-3476 URL: http://jira.codehaus.org/browse/JRUBY-3476 Project: JRuby Issue Type: Bug Components: Java Integration Affects Versions: JRuby 1.1.6, JRuby 1.1.5, JRuby 1.1.4 Reporter: Bill Dortch Priority: Critical Beginning in JRuby 1.1.4, the java_class value for a Java object is lost when a singleton class is created. For example, in JRuby 1.1.6: {noformat} >> x = java.lang.Object.new => #<Java::JavaLang::Object:0xe13e7b @java_object=java.lang.obj...@1cd2197> >> x.java_class => java.lang.Object >> def x.foo; end => nil >> x.java_class => nil {noformat} There may be other values that are lost as well, and/or other circumstances under which this occurs. -- 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