Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1.4
-
Fix Version/s: JRuby 1.1.5
-
Component/s: None
-
Labels:None
-
Environment:jruby 1.1.4 (ruby 1.8.6 patchlevel 114) (2008-08-28 rev 7570) [amd64-java]
Description
When I upgraded from 1.1.3 to 1.1.4, some stable code fails to start properly and produces the error message below. I believe the exception is thrown when I implement a Java interface. The interface that I am implementing also extends a Java class.
I wish I could share the code, but it is rather proprietary. If this bug report isn't enough to track it down completely, let me know, and I'll try to create a simple case that causes the error.
java.lang.class:-2:in `getDeclardMethods0`: java.lang.VerifyError: (class: InterfaceImpl-1933843205, method: realtimeBar signature: (IJDDDDJDI)V) Register pair 3/4 contains wrong type
Thanks,
Jon
Please do try to come up with a simple case. Sounds like some crazy API to have a method like void foo(int, long, double, double, double, double, long, double int). My very rough guess would be that the interface impl we're generating is not mapping the types correctly. Sort out which function that is and see if you can imitate it with non-proprietary code we can use to reproduce the error.