Github user mtaylor commented on the issue:
https://github.com/apache/activemq-artemis/pull/2227
@michaelandrepearce I agree, if you can come up with an appropriate test it
would be beneficial. The reason the test still passed was due to the IOOB
exception being moved to a different position in the stack. So, it was thrown
but only after the byte array memory was allocated.---
