[
https://issues.apache.org/jira/browse/ARIES-1693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dominik Przybysz closed ARIES-1693.
-----------------------------------
Closing issues of released artifacts
> ClassloaderObjectInputStream can not load InputStreamProxy class
> ----------------------------------------------------------------
>
> Key: ARIES-1693
> URL: https://issues.apache.org/jira/browse/ARIES-1693
> Project: Aries
> Issue Type: Bug
> Components: Remote Service Admin
> Affects Versions: rsa-1.10.0
> Reporter: Christian Schneider
> Assignee: Christian Schneider
> Priority: Major
> Fix For: rsa-1.10.0
>
>
> This was reported by Nick Baker over E-Mail.
> The problem seems to be that the ClassLoaderObjectInputStream only looks into
> the user bundle classloader. This will fail when loading the InputStreamProxy.
> This code should make sure the class can be loaded:
> https://github.com/apache/aries-rsa/commit/09771c940422a3f83d3779d6d8b482959605f95a
> but apparently it uses the wrong classloader.
> This should work:
> return Class.forName(className, false, getClass().getClassLoader());
--
This message was sent by Atlassian Jira
(v8.20.10#820010)