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)
Ok, I'll take a look.
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.