aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ARIES-1161) ProxyGenerator uses ProxyCLassLoaded with wrong classloader
Date Thu, 30 Oct 2014 11:25:33 GMT

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

Guillaume Nodet resolved ARIES-1161.
------------------------------------
    Resolution: Fixed

Committing to https://svn.apache.org/repos/asf/aries/trunk ...
	M	proxy/proxy-impl/src/main/java/org/apache/aries/proxy/impl/interfaces/InterfaceProxyGenerator.java
	M	proxy/proxy-impl/src/test/java/org/apache/aries/blueprint/proxy/InterfaceProxyingTest.java
	M	proxy/proxy-impl/src/test/java/org/apache/aries/blueprint/proxy/WovenProxyGeneratorTest.java
	M	proxy/proxy-impl/src/test/java/org/apache/aries/blueprint/proxy/WovenProxyPlusSubclassGeneratorTest.java
Committed r1635466


Thx for the patch !


> ProxyGenerator uses ProxyCLassLoaded with wrong classloader 
> ------------------------------------------------------------
>
>                 Key: ARIES-1161
>                 URL: https://issues.apache.org/jira/browse/ARIES-1161
>             Project: Aries
>          Issue Type: Bug
>          Components: Proxy
>    Affects Versions: proxy-impl-1.0.3
>            Reporter: Konstantin Pelykh
>            Assignee: Guillaume Nodet
>             Fix For: proxy-impl-1.0.5
>
>         Attachments: remove_pcl_from_cache_is_bundle_change_classloader.patch
>
>
> After bundle has been reloaded/refreshed, ProxyGenerator keeps using cached version and
old reference to outdated classloader. It latter results in NPE when classloader tries to
load class from refreshed bundle. 
> Affected version 1.0.3-SNAPSHOT



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message