[ 
https://issues.apache.org/jira/browse/ARIES-2125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17777599#comment-17777599
 ] 

Rico Neubauer commented on ARIES-2125:
--------------------------------------

was duplicated by 
ARIES-2126: Update ASM to 9.5 #242
ARIES-2127: Add constants for Java 20/21 #243

> Add JDK 20 and 21 support
> -------------------------
>
>                 Key: ARIES-2125
>                 URL: https://issues.apache.org/jira/browse/ARIES-2125
>             Project: Aries
>          Issue Type: New Feature
>          Components: Proxy
>    Affects Versions: proxy-impl-1.1.13
>            Reporter: Rico Neubauer
>            Priority: Major
>
> Similar to https://issues.apache.org/jira/browse/ARIES-2086 support for 20 
> and, more importantly, the 21 LTS version should be added.
> Running with Java 21 and aries-prox 1.1.13 otherwise produces errors like
> {noformat}
> java.lang.IllegalArgumentException: Invalid Java version 65
>       at 
> org.apache.aries.proxy.impl.ProxyUtils.getWeavingJavaVersion(ProxyUtils.java:104)
>  ~[?:?]
>       at 
> org.apache.aries.proxy.impl.interfaces.InterfaceCombiningClassAdapter.<init>(InterfaceCombiningClassAdapter.java:79)
>  ~[?:?]
>       at 
> org.apache.aries.proxy.impl.interfaces.ProxyClassLoader.createProxyClass(ProxyClassLoader.java:155)
>  ~[?:?]
>       at 
> org.apache.aries.proxy.impl.interfaces.InterfaceProxyGenerator.getProxyInstance(InterfaceProxyGenerator.java:97)
>  ~[?:?]
>       at 
> org.apache.aries.proxy.impl.AsmProxyManager.createNewProxy(AsmProxyManager.java:80)
>  ~[?:?]
>       at 
> org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingInterceptingProxy(AbstractProxyManager.java:77)
>  ~[?:?]
>       at 
> org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingProxy(AbstractProxyManager.java:42)
>  ~[?:?]
>       at 
> org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.createProxy(AbstractServiceReferenceRecipe.java:332)
>  ~[?:?]
>       at 
> org.apache.aries.blueprint.container.ReferenceRecipe.internalCreate(ReferenceRecipe.java:125)
>  ~[?:?]
>       at 
> org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:81) 
> ~[?:?]
>       at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to