As always, I am deleting the finds in test code. This time there were two such.
---------- Forwarded message ---------- From: <[email protected]> Date: Fri, Apr 14, 2017 at 6:28 PM Subject: New Defects reported by Coverity Scan for ApacheActiveMQArtemis To: [email protected] Hi, Please find the latest report on new defect(s) introduced to ApacheActiveMQArtemis found with Coverity Scan. 3 new defect(s) introduced to ApacheActiveMQArtemis found with Coverity Scan. 2 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 3 of 3 defect(s) ** CID 1428594: FindBugs: Multithreaded correctness (FB.JLM_JSR166_LOCK_ MONITORENTER) /activemq-artemis/artemis-protocols/artemis-amqp-protocol/src/main/java/org/ apache/activemq/artemis/protocol/amqp/broker/AMQPSessionCallback.java: 485 in org.apache.activemq.artemis.protocol.amqp.broker. AMQPSessionCallback$4.run()() ____________________________________________________________ ____________________________________________ *** CID 1428594: FindBugs: Multithreaded correctness (FB.JLM_JSR166_LOCK_ MONITORENTER) /activemq-artemis/artemis-protocols/artemis-amqp-protocol/src/main/java/org/ apache/activemq/artemis/protocol/amqp/broker/AMQPSessionCallback.java: 485 in org.apache.activemq.artemis.protocol.amqp.broker. AMQPSessionCallback$4.run()() 479 return; 480 } 481 final PagingStore store = manager.getServer(). getPagingManager().getPageStore(new SimpleString(address)); 482 store.checkMemory(new Runnable() { 483 @Override 484 public void run() { >>> CID 1428594: FindBugs: Multithreaded correctness (FB.JLM_JSR166_LOCK_MONITORENTER) >>> Synchronization performed on java.util.concurrent.locks. ReentrantLock. 485 synchronized (connection.getLock()) { 486 if (receiver.getRemoteCredit() <= threshold) { 487 receiver.flow(credits); 488 connection.flush(); 489 } 490 } ____________________________________________________________ ____________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid. net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch- 2Bd2MGckcRZSbhom32dlDl11LWEm9nX1lp9PjHD09mahOUNyqjCW7QTbr6zO 0eKYaenYqtNdjSI-3D_FskC5xBa3KJMdLzpQ7DMPdi-2Bg7iORJg0iEJDpvzM9wD9Z1wPDnXs pCs2qaCwrT-2F8pUL-2BEy72Q4WB595-2BHjbSUcrDbJQiq1a6aQTyGWEvTg6Q 6jzIeXF0HN6mYT1Hv82GcBOjJ4-2FZ7YWX2zdE-2FRg8clR4DD6ot4sHUjSBn3d- 2Focs0OtAakzs8GZ-2Fy0LVB1CQ20b-2B-2BYfBskkjawotDNlenmA-3D-3D -- Jiří Daněk
