openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pawel Veselov <pawel.vese...@gmail.com>
Subject Serp, JDK 1.8 and Lambdas
Date Mon, 01 Jun 2015 08:31:27 GMT
Hi.

I had some Lambda code in one of my entities, and the enhancement, using
2.2.2, failed with an exception. Is there a better version of Serp that I
can replace whatever comes stock in 2.2.2 (that's 1.14.1)?

Thank you,
  Pawel.

Exception in thread "main" java.lang.IllegalArgumentException: type = 18
at serp.bytecode.lowlevel.Entry.create(Entry.java:78)
at serp.bytecode.lowlevel.Entry.read(Entry.java:36)
at serp.bytecode.lowlevel.ConstantPool.read(ConstantPool.java:412)
at serp.bytecode.BCClass.read(BCClass.java:89)
at serp.bytecode.BCClass.read(BCClass.java:144)
at serp.bytecode.Project.loadClass(Project.java:139)
at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4884)
at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4831)
at org.apache.openjpa.enhance.PCEnhancer$1.run(PCEnhancer.java:4801)
at
org.apache.openjpa.lib.conf.Configurations.launchRunnable(Configurations.java:761)
at
org.apache.openjpa.lib.conf.Configurations.runAgainstAllAnchors(Configurations.java:751)
at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4796)
at org.apache.openjpa.enhance.PCEnhancer.main(PCEnhancer.java:4787)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message