Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-18028

@net.jcip.Immutable not working as documented

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 32.0.0.Final
    • 28.0.0.Final
    • Clustering
    • None
    • ---
    • ---

    Description

      We document that objects placed in the HttpSession that are annotated with @net.jcip.Immutable will only replicate following calls to HttpSession.setAttribute(...). However, given that the module containing this annotation is not exposed to deployments by default, deployments need to explicitly add this dependency (via MANIFEST.MF or jboss-deployment.xml) in order for these classes to be recognized as immutable.

      Attachments

        Activity

          People

            pferraro@redhat.com Paul Ferraro
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: