Lazy-loading (load-time weaving) doesn't work with JDK-13

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Lazy-loading (load-time weaving) doesn't work with JDK-13

Andreas Joseph Krogh-2
The app is built using jdk-11 and runs fine on jdk-11 and 12, but trying with the just released jdk-13 I'm getting lots of these on startup (using EL-2.7.4):
 
[EL Severe]: metadata: 2019-09-17 19:29:59.44--ServerSession(1627689109)--The java.lang.Object class was compiled with an unsupported JDK. Report this error to the EclipseLink open source project.
...
...
[EL Warning]: weaver: 2019-09-17 19:30:06.077--Weaver encountered an exception while trying to weave class no/officenet/origo/core/domain/model/activity/Activity. The exception was: Unsupported class file major version 57
...
...
 
[EL Warning]: metadata: 2019-09-17 19:30:13.039--ServerSession(1627689109)--Reverting the lazy setting on the OneToOne or ManyToOne attribute [parent] for the entity class [class no.officenet.origo.core.domain.model.company.Company] since weaving was not enabled or did not occur.
...
...
 
 
 
Will this get fixed with EL-2.7.5? If so, any plans for releasing soon?
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963

_______________________________________________
eclipselink-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/eclipselink-users
Reply | Threaded
Open this post in threaded view
|

Re: Lazy-loading (load-time weaving) doesn't work with JDK-13

Peter Ondruška
Andreas,

What about recompiling 2.7.5 from sources on JDK 13. Or disable weaving…

Peter

On Tue, 17 Sep 2019, 19:34 Andreas Joseph Krogh, <[hidden email]> wrote:
The app is built using jdk-11 and runs fine on jdk-11 and 12, but trying with the just released jdk-13 I'm getting lots of these on startup (using EL-2.7.4):
 
[EL Severe]: metadata: 2019-09-17 19:29:59.44--ServerSession(1627689109)--The java.lang.Object class was compiled with an unsupported JDK. Report this error to the EclipseLink open source project.
...
...
[EL Warning]: weaver: 2019-09-17 19:30:06.077--Weaver encountered an exception while trying to weave class no/officenet/origo/core/domain/model/activity/Activity. The exception was: Unsupported class file major version 57
...
...
 
[EL Warning]: metadata: 2019-09-17 19:30:13.039--ServerSession(1627689109)--Reverting the lazy setting on the OneToOne or ManyToOne attribute [parent] for the entity class [class no.officenet.origo.core.domain.model.company.Company] since weaving was not enabled or did not occur.
...
...
 
 
 
Will this get fixed with EL-2.7.5? If so, any plans for releasing soon?
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
_______________________________________________
eclipselink-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/eclipselink-users

_______________________________________________
eclipselink-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/eclipselink-users

noname (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Lazy-loading (load-time weaving) doesn't work with JDK-13

Andreas Joseph Krogh-2
På tirsdag 17. september 2019 kl. 19:50:36, skrev Peter Ondruška <[hidden email]>:
Andreas,
 
What about recompiling 2.7.5 from sources on JDK 13. Or disable weaving…
 
I'd like to hear from the EL-guys what their opinion is. Will 2.7.5 fix it or not? I'm sure they know.
I remember 2.7.4 fixed it for jdk-11.
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
 

_______________________________________________
eclipselink-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/eclipselink-users