Rick, On Mon, Jun 1, 2015 at 7:22 AM, Rick Curtis <curti...@gmail.com> wrote:
> Take a look at OPENJPA-2386[1]. In that JIRA we reference using the updated > version of serp (1.15.1). > Thank you. Is serp only used for enhancement? So, if I'm pre-enhancing the entities, serp library would not be used by OpenJPA at runtime at all? > > https://issues.apache.org/jira/browse/OPENJPA-2386 > > On Mon, Jun 1, 2015 at 3:31 AM, Pawel Veselov <pawel.vese...@gmail.com> > wrote: > > > 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) > > > > > > -- > *Rick Curtis* > -- With best of best regards Pawel S. Veselov