Bug 80 : regression after fix for BUG 76
Priority 
High
Reported Version 
 
Logged By 
imario
Status 
Fixed
Fixed Version 
1.1.0
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
24/02/2009
Updated 
24/02/2009
Type 
Bug
 
Attachments 
No attachments

One of my entities has a "long sid" column. This now results in an exception.

Since "long" is wrong here in my entity I will fix that by reverting to "Long", the error in Avaje seems to be here anyway. I tried to figure out the weaver code, but too heavy if you do not know all these numeric literals :-(

I use jdk 1.6.0_11.

Exception in thread "com.ops.OPSJ.ui.system.ApplicationWorkQueue" java.lang.VerifyError: (class: com/ops/Premium/model/po/Mdzhd, method: _ebean_getIdentity signature: ()Ljava/lang/Object;) Expecting to find integer on stack
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getDeclaredMethods(Class.java:1791)
at com.avaje.ebean.server.deploy.parse.CreateProperties.createProperties(CreateProperties.java:90)

 
Rob 24 Feb 22:03
Ok

Ok, I'll take a look.

Rob 25 Feb 09:46
Issue for long, double and float

This was an issue for long, double and float primitive types.

Extra bytecodes needed to compare those to the matching 0 value in _ebean_getIdentity() ... method used by the generated equals().

Fixed in HEAD.

woResponse

Upload a file