Community
Participate
Working Groups
Currently the test fixture Message class accepts empty string ( or string with blanks only ) in his ctor. In this case, a default message is created with a requestCounter = 0 and no operations. This is wrong and we should throw an exception for invalid JSON in this case.
Fixed by removing this obsolete workaround from Message class and adjusted all tests that relied on it. The Message c'tor now throws an IAE when called with an empty string or whitespace. Changes are in CVS HEAD.