GitHub user michaelandrepearce opened a pull request: https://github.com/apache/activemq-artemis/pull/2232
ARTEMIS-1482 Enhance test to ensure len check is done before byte[] init Set the int to Integer.MAX_VALUE thus if the len check is not done before byte[] initialization the test would blow with an OOM. You can merge this pull request into a Git repository by running: $ git pull https://github.com/michaelandrepearce/activemq-artemis ARTEMIS-1482 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/activemq-artemis/pull/2232.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2232 ---- commit 5d8079845ee3fe1092b84533ae63438d79ad353c Author: Michael André Pearce <michael.andre.pearce@...> Date: 2018-08-09T14:54:32Z ARTEMIS-1482 Enhance test to ensure len check is done before byte[] init Set the int to Integer.MAX_VALUE thus if the len check is not done before byte[] initialization the test would blow with an OOM. ---- ---