[
http://jira.jboss.com/jira/browse/JGRP-643?page=comments#action_12391328 ]
Bela Ban commented on JGRP-643:
-------------------------------
Yes, moving the init() into a static class initializer might work, I'll do that.
ClassConfigurator.getInstance() not thread safe
-----------------------------------------------
Key: JGRP-643
URL:
http://jira.jboss.com/jira/browse/JGRP-643
Project: JGroups
Issue Type: Bug
Reporter: Michael Newcomb
Assigned To: Bela Ban
Priority: Minor
Fix For: 2.7
Creating 2 or more JChannels simultaneously could result in multiple ClassConfigurators
being created and inited at once or a ClassConfigurator being used before it has been
inited.
Recommend synchronizing the getInstance() method.
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira