[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Updated] (ARIES-1093) Aries proxy doesn't work properly on uninstall/reinstall

     [ ]

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

> Aries proxy doesn't work properly on uninstall/reinstall
> --------------------------------------------------------
>                 Key: ARIES-1093
>                 URL:
>             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
> 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