Peter Abeles commented on Improvement XSTR-732

Found a "minor" unintended consequence. In XStream.setupConverters() two lines are surrounded by try{}catch{}. DynamicProxyConverter and TextAttributeConverter blow up when run as an applet due to AccessControlException being thrown inside their static{} initializers. With the current patch the code runs fine once, but the second time XStream is called it fails. I further modified the code such that it catches AccessControlException inside their static{} and ignores it. Works well for my application, but I'm not sure about others. I'm guessing that if you needed that functionality you would end up with some random null pointer exception and have absolutely no idea what went wrong. Again, this is only an issue when run inside an applet.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to