[jira] [Commented] (OWB-1429) Java 21 not supported?
[ https://issues.apache.org/jira/browse/OWB-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17784119#comment-17784119 ] Mark Struberg commented on OWB-1429: Cool, thanks for clarifying! Will try to work towards a 2.0.28 version as well. > 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 >Priority: Major > > 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.(AnnotationFinder.java:153) > at > org.apache.xbean.finder.AnnotationFinder.(AnnotationFinder.java:166) > at > org.apache.webbeans.corespi.scanner.xbean.OwbAnnotationFinder.(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.(ClassReader.java:199) > at org.apache.xbean.asm9.ClassReader.(ClassReader.java:180) > at org.apache.xbean.asm9.ClassReader.(ClassReader.java:166) > at org.apache.xbean.asm9.ClassReader.(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)
[jira] [Commented] (OWB-1429) Java 21 not supported?
[ https://issues.apache.org/jira/browse/OWB-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17784112#comment-17784112 ] Torsten Stolpmann commented on OWB-1429: I just retraced my steps and apparently I have to correct myself here: Overriding xbean-asm9-shaded with version 4.2.4 seems to work with Java 21. Sorry for this, seems like this was a build error on my side. Still it would be nice to release a version 2.0.28 in the near future which is working out of the box with Java 21. Thank you! > 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 >Priority: Major > > 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.(AnnotationFinder.java:153) > at > org.apache.xbean.finder.AnnotationFinder.(AnnotationFinder.java:166) > at > org.apache.webbeans.corespi.scanner.xbean.OwbAnnotationFinder.(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.(ClassReader.java:199) > at org.apache.xbean.asm9.ClassReader.(ClassReader.java:180) > at org.apache.xbean.asm9.ClassReader.(ClassReader.java:166) > at org.apache.xbean.asm9.ClassReader.(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)
[jira] [Commented] (OWB-1429) Java 21 not supported?
[ https://issues.apache.org/jira/browse/OWB-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17784052#comment-17784052 ] Mark Struberg commented on OWB-1429: Java 21 also requires the new TCK - where they introduced new bugs/non spec compliant behaviour :( I've now challenged a few more tests to make it pass. > 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 >Priority: Major > > 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.(AnnotationFinder.java:153) > at > org.apache.xbean.finder.AnnotationFinder.(AnnotationFinder.java:166) > at > org.apache.webbeans.corespi.scanner.xbean.OwbAnnotationFinder.(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.(ClassReader.java:199) > at org.apache.xbean.asm9.ClassReader.(ClassReader.java:180) > at org.apache.xbean.asm9.ClassReader.(ClassReader.java:166) > at org.apache.xbean.asm9.ClassReader.(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)
[jira] [Commented] (OWB-1429) Java 21 not supported?
[ https://issues.apache.org/jira/browse/OWB-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17779575#comment-17779575 ] Romain Manni-Bucau commented on OWB-1429: - Hi, it needs a new xbean-asm release, you can use a snapshot, build it yourself or ensure your bytecode uses java 17 (even if it runs on java21). > 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 >Priority: Major > > 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.(AnnotationFinder.java:153) > at > org.apache.xbean.finder.AnnotationFinder.(AnnotationFinder.java:166) > at > org.apache.webbeans.corespi.scanner.xbean.OwbAnnotationFinder.(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.(ClassReader.java:199) > at org.apache.xbean.asm9.ClassReader.(ClassReader.java:180) > at org.apache.xbean.asm9.ClassReader.(ClassReader.java:166) > at org.apache.xbean.asm9.ClassReader.(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)