Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-3173

Synchronization performed on java.util.concurrent.ConcurrentLinkedDeque object in class NettyConnection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 7.1.0.GA
    • 7.0.0.ER6
    • ActiveMQ
    • None

    Description

      Static code analysis tool discovered defect in class NettyConnection.
      There is performed synchronisation on java.util.concurrent.ConcurrentLinkedDeque object.

      Affected part of code :

      private final ConcurrentLinkedDeque<ReadyListener> readyListeners = new ConcurrentLinkedDeque<>();
      
       public void fireReady(final boolean ready) {
            synchronized (readyListeners) {
               this.ready = ready;
               .....
             }
         }
      

      Attachments

        Issue Links

          Activity

            People

              csuconic@redhat.com Clebert Suconic
              mstyk_jira Martin Styk (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: