[
https://jira.jboss.org/jira/browse/JGRP-871?page=com.atlassian.jira.plugi...
]
Bela Ban commented on JGRP-871:
-------------------------------
This class is only used by the Util.object{To,From}XXX() methods, which I don't
recommend.
Actually, apps using JGroups are supposed to do their own marshalling and pass only byte[]
buffer into JGroups.
I'm thinking of dropping ContextObjectInputStream altogether... WDYT ?
ContextObjectInputStream caches classes, potentially causing
classloader leaks
------------------------------------------------------------------------------
Key: JGRP-871
URL:
https://jira.jboss.org/jira/browse/JGRP-871
Project: JGroups
Issue Type: Bug
Affects Versions: 2.7
Environment: all
Reporter: Sei Syvalta
Assignee: Bela Ban
Fix For: 2.7
If jgroups is installed at application server lib directory, a classloader leak will
occur. When web app is undeployed, static classCache in ContextObjectInputStream will
still refer those web app classes preventing web app to undeploy properly.
I think proper fix would be to remove this caching completely.
Additionally, it might be worth to check the current version form jboss:
http://fisheye.jboss.org/browse/JBossCommon/common-core/trunk/src/main/ja....
It has some fixes for java 6.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira