You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Torsten Stolpmann (Jira)" <ji...@apache.org> on 2023/10/25 14:10:00 UTC
[jira] [Created] (OWB-1429) Java 21 not supported?
Torsten Stolpmann created OWB-1429:
--------------------------------------
Summary: Java 21 not supported?
Key: OWB-1429
URL: https://issues.apache.org/jira/browse/OWB-1429
Project: OpenWebBeans
Issue Type: Bug
Components: Core
Affects Versions: 2.0.27
Reporter: Torsten Stolpmann
I am porting our application from Java 11 to Java 21.
During initialization, I get the following exception from OpenWebBeans 2.0.27:
Caused by: java.lang.RuntimeException: Unable to read class definition for com.sun.faces.context.FacesFileNotFoundException
at org.apache.xbean.finder.AnnotationFinder.readClassDef(AnnotationFinder.java:1180)
at org.apache.xbean.finder.AnnotationFinder.<init>(AnnotationFinder.java:153)
at org.apache.xbean.finder.AnnotationFinder.<init>(AnnotationFinder.java:166)
at org.apache.webbeans.corespi.scanner.xbean.OwbAnnotationFinder.<init>(OwbAnnotationFinder.java:41)
at org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery.initFinder(AbstractMetaDataDiscovery.java:138)
at org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery.scan(AbstractMetaDataDiscovery.java:177)
... 33 more
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 65
at org.apache.xbean.asm9.ClassReader.<init>(ClassReader.java:199)
at org.apache.xbean.asm9.ClassReader.<init>(ClassReader.java:180)
at org.apache.xbean.asm9.ClassReader.<init>(ClassReader.java:166)
at org.apache.xbean.asm9.ClassReader.<init>(ClassReader.java:287)
at org.apache.xbean.finder.AnnotationFinder.readClassDef(AnnotationFinder.java:1176)
I already updated the org.apache.xbean:xbean-asm9-shaded dependency to the latest version 4.24.
Is OpenWebBeans 2.0.27 not supposed to work with Java 21?
What else can I try?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)