aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grzegorz Grzybek (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ARIES-1093) Aries proxy doesn't work properly on uninstall/reinstall
Date Wed, 07 Nov 2018 13:36:00 GMT

     [ https://issues.apache.org/jira/browse/ARIES-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Grzegorz Grzybek updated ARIES-1093:
------------------------------------
    Component/s: Proxy

> Aries proxy doesn't work properly on uninstall/reinstall
> --------------------------------------------------------
>
>                 Key: ARIES-1093
>                 URL: https://issues.apache.org/jira/browse/ARIES-1093
>             Project: Aries
>          Issue Type: Bug
>          Components: Proxy
>            Reporter: Timothy Ward
>            Priority: Critical
>
> There are a couple of problems with the Aries Proxy code if you do install/uninstall
cycles:
> Firstly the Aries subclass generator uses Class.forName(String) in the static initializers
of the classes that it generates. This works, but we need to pass the correct ClassLoader
to avoid odd caching bugs (See http://blog.bjhargrave.com/2007/09/classforname-caches-defined-class-in.html)
> Secondly, if the API is installed separately, then reinstalling the Proxy Impl breaks
proxying. The existing woven classes stay woven but new woven subclasses use a different unique
name for the WovenProxy fields. This causes NoSuchFieldError to be thrown.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message