harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry M. Kononov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-188) ObjectOutputStream.useProtocolVersion(version) should check a parameter value.
Date Wed, 23 Aug 2006 15:39:16 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-188?page=comments#action_12430029 ] 
            
Dmitry M. Kononov commented on HARMONY-188:
-------------------------------------------

The included (by me) patches are submitted under the terms of the Apache License v2 and the
terms of the ICLA.

> ObjectOutputStream.useProtocolVersion(version) should check a parameter value.
> ------------------------------------------------------------------------------
>
>                 Key: HARMONY-188
>                 URL: http://issues.apache.org/jira/browse/HARMONY-188
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Dmitry M. Kononov
>         Assigned To: Mikhail Loenko
>            Priority: Minor
>         Attachments: HARMONY-188.fix.txt, Test.java, Test17.java
>
>
> 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

        

Mime
View raw message