[jbossts-issues] [JBoss JIRA] (JBTM-2887) No warnings if a field marked with @State is not a supported datatype

Michael Musgrove (JIRA) issues at jboss.org
Tue Apr 25 11:57:00 EDT 2017


Michael Musgrove created JBTM-2887:
--------------------------------------

             Summary: No warnings if a field marked with @State is not a supported datatype
                 Key: JBTM-2887
                 URL: https://issues.jboss.org/browse/JBTM-2887
             Project: JBoss Transaction Manager
          Issue Type: Bug
          Components: STM
    Affects Versions: 5.5.24.Final
            Reporter: Michael Musgrove
            Assignee: Mark Little


If a field annotated with @State (such as a map) is not one of the supported datatypes then any attempt to obtain an STM lock will fail with LockResult.REFUSED.

It would be useful if a warning is logged to indicate why lock acquisition is refused to prompt the developer to override the save_state and restore_state methods.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbossts-issues mailing list