FileCacheLoader uses incorrect classloader
------------------------------------------
Key: JBCACHE-99
URL: http://jira.jboss.com/jira/browse/JBCACHE-99
Project: JBoss Cache
Type: Bug
Versions: 1.2
Reporter: twundke
Assigned to: Bela Ban
The method loadAttributes(Fqn) creates a new ObjectInputStream to read from a
file. However, this potentially uses the incorrect classloader when creating
the objects.
The rest of the class uses MarshalledValueInputStream, which does use the
correct classloader (ie. the current one).
loadAttributes(Fqn) should be changed to use MarshalledValueInputStream.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development