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

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

      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;
               .....
             }
         }
      

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

                Created:
                Updated:
                Resolved: