ObjectOutputStream.useProtocolVersion(version) should check a parameter value.
------------------------------------------------------------------------------
Key: HARMONY-188
URL: http://issues.apache.org/jira/browse/HARMONY-188
Project: Harmony
Type: Bug
Components: Classlib
Reporter: Dmitry M. Kononov
Priority: Minor
ObjectOutputStream.useProtocolVersion(version) has to throw
IllegalArgumentException if the given version is invalid. There are only two
valid protocol versions: ObjectStreamConstants.PROTOCOL_VERSION_1 and
ObjectStreamConstants.PROTOCOL_VERSION_2.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira