JRuby selects wrong static method on Java class
-----------------------------------------------
Key: JRUBY-3130
URL: http://jira.codehaus.org/browse/JRUBY-3130
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.1.5
Environment: OS X, jruby 1.1.5 (ruby 1.8.6 patchlevel 114) (2008-11-11
rev 8042) [i386-java]
Reporter: Kaspar Schiess
Assignee: Thomas E Enebo
Fix For: JRuby 1.1.6, JRuby 1.1.5
Attachments: static_method_bug.tgz
Calling a getInstance static method on a Java Class selects the superclass
method instead of the subclass method. The attached example illustrates: I'd
expect FooSubClass.getInstance to print out the subclass string.
Tell me if I should reformulate this somehow as a test/spec.
--
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