openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: Serp, JDK 1.8 and Lambdas
Date Mon, 01 Jun 2015 14:22:30 GMT
Take a look at OPENJPA-2386[1]. In that JIRA we reference using the updated
version of serp (1.15.1).

https://issues.apache.org/jira/browse/OPENJPA-2386

On Mon, Jun 1, 2015 at 3:31 AM, Pawel Veselov <pawel.veselov@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*

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