[jbossts-issues] [JBoss JIRA] (JBTM-2028) Three minor findbugs issues in JTA cdi module

Michael Musgrove (JIRA) jira-events at lists.jboss.org
Fri Nov 15 06:50:05 EST 2013

    [ https://issues.jboss.org/browse/JBTM-2028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923955#comment-12923955 ] 

Michael Musgrove commented on JBTM-2028:

The two warnings about incorrect lazy initialization of static field are harmless since the values are looked up via JNDI (ie there is no object construction during initialization so there is no problem if two threads both dry to do the initialization)
> Three minor findbugs issues in JTA cdi module
> ---------------------------------------------
>                 Key: JBTM-2028
>                 URL: https://issues.jboss.org/browse/JBTM-2028
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JTA
>    Affects Versions: 5.0.0.CR1
>            Reporter: Michael Musgrove
>            Assignee: Michael Musgrove
>            Priority: Minor
>             Fix For: 5.0.0.CR2
> [INFO] Incorrect lazy initialization of static field com.arjuna.ats.jta.cdi.TransactionContext.transactionManager in com.arjuna.ats.jta.cdi.TransactionContext.getTransactionManager() ["com.arjuna.ats.jta.cdi.TransactionContext"] At TransactionContext.java:[lines 44-159]
> [INFO] Incorrect lazy initialization of static field com.arjuna.ats.jta.cdi.TransactionContext.transactionSynchronizationRegistry in com.arjuna.ats.jta.cdi.TransactionContext.getTransactionSynchronizationRegistry() ["com.arjuna.ats.jta.cdi.TransactionContext"] At TransactionContext.java:[lines 44-159]
> [INFO] Class com.arjuna.ats.jta.cdi.transactional.TransactionalInterceptorBase defines non-transient non-serializable instance field beanManager ["com.arjuna.ats.jta.cdi.transactional.TransactionalInterceptorBase"] At TransactionalInterceptorBase.java:[lines 45-170]

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

More information about the jbossts-issues mailing list