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

@net.jcip.Immutable not working as documented

XMLWordPrintable

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

      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.

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

                Created:
                Updated: