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 2021/04/04 05:13:00 UTC
[jira] [Commented] (ARIES-2044) aries-proxy does not work with
JDK16
[ https://issues.apache.org/jira/browse/ARIES-2044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17314409#comment-17314409 ]
ASF subversion and git services commented on ARIES-2044:
--------------------------------------------------------
Commit a2be80e7b344647a5f0ace5bc741e015a383f13f in aries's branch refs/heads/trunk from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=aries.git;h=a2be80e ]
Merge pull request #115 from rovarga/aries2044
[ARIES-2044] Add support for JRE16/17
> aries-proxy does not work with JDK16
> ------------------------------------
>
> Key: ARIES-2044
> URL: https://issues.apache.org/jira/browse/ARIES-2044
> Project: Aries
> Issue Type: Bug
> Components: Proxy
> Affects Versions: proxy-impl-1.1.9
> Reporter: Robert Varga
> Assignee: Jean-Baptiste Onofré
> Priority: Major
>
> Attempting to run Karaf-4.3.1 with JDK16 results in:
> {noformat}
> 2021-04-03T21:20:24,053 | INFO | features-2-thread-1 | ServiceRecipe | 28 - org.apache.aries.blueprint.core - 1.10.3 | Unable to create a proxy object for the service .component-1 defined in bundle org.apache.aries.blueprint.core/1.10.3 with id. Returning the original object instead.
> java.lang.IllegalArgumentException: Invalid Java version 60
> at org.apache.aries.proxy.impl.ProxyUtils.getWeavingJavaVersion(ProxyUtils.java:88) ~[?:?]
> 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) ~[?:?]
> at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:216) ~[?:?]
> at java.security.AccessController.doPrivileged(AccessController.java:312) ~[?:?]
> at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:213) ~[?:?]
> at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:114) ~[?:?]
> at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:48) ~[?:?]
> at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:547) ~[?:?]
> at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:533) ~[?:?]
> at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:656) ~[?:?]
> at org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl.addingService(NamespaceHandlerRegistryImpl.java:115) ~[?:?]
> [...]
> {noformat}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)