The exception messages was introduced by
DERBY-1516, for which the patch contains several of the:
-Known JCC Bug 5914
+FAIL: Caught exception java.lang.NegativeArraySizeException
I agree with John that we should avoid FAIL-messages in the master file. I think for most tests, FAIL means that the test fails, not an expected failure of a test case. In this test, such messages are also expected for the embedded framework, but in that case the name of the exception is replaced by asterisks:
FAIL – unexpected exception ****************
I have not found out how this is achieved, but maybe this is an alternative to separate canons?