Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 0.9.8
-
Fix Version/s: JRuby 0.9.9
-
Component/s: Java Integration
-
Labels:None
-
Environment:OSX(10.4.8), JRuby head (0.9.8)
Description
BaseTest.java
public class BaseTest
{
public final void foo()
}
#########################
basetest.rb
require 'java'
include_class 'BaseTest'
class Test < BaseTest
end
t = Test.new
t.foo
#########################
$ jruby basetest.rb
basetest.rb:[0,10]:[0,87]: mismatch with proxy/super method? (TypeError)
If I remove final from the foo method in BaseTest the program runs properly.
Issue Links
- is related to
-
JRUBY-814
Multiple improvements to Java integration (was: Java method get lost.)
-
Hmm interesting. So just the fact that the method is final causes it to be invisible to Java integration? We should fix for 1.0.