Can't subclass a Java class that calls an abstract function in its constructor #2369
Labels
java integration
JRuby 1.7.x
JRuby 9000
release notes
For marking an issue that has been added to release notes
Milestone
From http://jira.codehaus.org/browse/JRUBY-2748
Original report
I have found that while subclassing a Java class that calls an abstract function in its constructor will cause the initialization of the subclass in JRuby to throw an ArgumentError with message "Constructor invocation failed: null."
Here is my Java base class:
Here is my example JRuby script:
Here is the output:
The text was updated successfully, but these errors were encountered: