[ https://issues.apache.org/jira/browse/ARIES-1693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Schneider resolved ARIES-1693. ---------------------------------------- Resolution: Fixed Fix Version/s: rsa-1.10.0 > 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 > 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 (v6.3.15#6346)