You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/09/30 11:57:00 UTC

[jira] [Commented] (ARIES-2194) Add Java 25 support in Proxy

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

ASF subversion and git services commented on ARIES-2194:
--------------------------------------------------------

Commit 87b86c424d6082da7482a261e1be3aec07d285c3 in aries's branch refs/heads/dependabot/maven/org.eclipse.platform-org.eclipse.osgi-3.24.300 from JB Onofré
[ https://gitbox.apache.org/repos/asf?p=aries.git;h=87b86c424 ]

Merge pull request #912 from holgerfriedrich/pr-proxy-versions

ARIES-2194: Add handling for Java versions greater than 25

> Add Java 25 support in Proxy
> ----------------------------
>
>                 Key: ARIES-2194
>                 URL: https://issues.apache.org/jira/browse/ARIES-2194
>             Project: Aries
>          Issue Type: Improvement
>          Components: Proxy
>    Affects Versions: proxy-impl-1.1.14
>            Reporter: Robert Varga
>            Priority: Major
>             Fix For: proxy-impl-2.0.0, proxy-api-1.1.2
>
>
> Latest release is failing on Java 25 with:
> {noformat}
> 2025-10-01T16:52:23,463 | INFO  | features-3-thread-1 | ServiceRecipe                    | 29 - org.apache.aries.blueprint.core - 1.10.3 | Unable to create a proxy object for the service .component-4 defined in 
> bundle org.apache.aries.blueprint.core/1.10.3 with id. Returning the original object instead.
> java.lang.IllegalArgumentException: Invalid Java version 69
>         at org.apache.aries.proxy.impl.ProxyUtils.getWeavingJavaVersion(ProxyUtils.java:112) ~[?:?]
>         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.createInterceptingProxy(AbstractProxyManager.java:55) ~[?:?]
>         at org.apache.aries.blueprint.container.ServiceRecipe$TriggerServiceFactory.getService(ServiceRecipe.java:568) [bundleFile:1.10.3]
> {noformat}



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