Details
Description
The extract() and the removeAt() methods in the ArrayBlockingQueue class do not have a bounds check for the count variable and hence a NegativeArraySizeException is reported when this class is load tested, with multiple threads.
The extract() and the removeAt() methods in the ArrayBlockingQueue class do not have a bounds check for the count variable and hence a NegativeArraySizeException is reported when this class is load tested, with multiple threads.