Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2887

No warnings if a field marked with @State is not a supported datatype

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 4.2
    • None
    • STM
    • None

    Description

      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.

      Attachments

        Activity

          People

            rhn-engineering-mmusgrov Michael Musgrove
            rhn-engineering-mmusgrov Michael Musgrove
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: