Unessesary late error message when subclassing a packaged class with no public
constructors.
---------------------------------------------------------------------------------------------
Key: JRUBY-5451
URL: http://jira.codehaus.org/browse/JRUBY-5451
Project: JRuby
Issue Type: Improvement
Components: Core Classes/Modules
Affects Versions: JRuby 1.6RC1
Reporter: Linus Sellberg
Priority: Trivial
It is possible to subclass a class with no public constructors. However, it is
not possible to create instances of that class. A more helpful error message
than
ArgumentError: Constructor invocation failed: tried to access method
com.foo.bar.Foo.(Ljava/lang/String;)V from class
org.jruby.proxy.com.foo.bar.Foo$Proxy0
would be nice.
--
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