lhotari opened a new pull request #11884:
URL: https://github.com/apache/pulsar/pull/11884


   Fixes #11783
   
   ### Motivation
   
   See #11783 for details.
   
   ### Modifications
   
   Create an anonymous subclass for ArrayDeque that can postpone the adding of 
items that are added during a forEach iteration. To support all possible cases, 
this checks for nested calls too although that might not happen in this case.
   The items added during a forEach loop will be added after the loop completes.
   
   ### Todo
   
   Find a way to create a failing test for the current issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to