dxbjavid commented on PR #323: URL: https://github.com/apache/commons-math/pull/323#issuecomment-4592429820
Added AbstractUnivariateStatisticTest.testSetDataOverflow. It calls setData(new double[10], 1, Integer.MAX_VALUE) on a minimal concrete subclass; before the fix the int sum wraps negative so the bounds check is skipped and arraycopy throws a raw AIOOBE, and it also asserts getArgument() is the correct long value. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
