harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Deakin (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-6307) [classlib][luni] java.net.HttpCookie.parse is not threadsafe
Date Mon, 28 Sep 2009 11:31:16 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-6307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oliver Deakin resolved HARMONY-6307.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.0M1

Thanks Catherine - patch applied with the updated test at repo revision r819498. Please check
it applied as expected.

> [classlib][luni] java.net.HttpCookie.parse is not threadsafe
> ------------------------------------------------------------
>
>                 Key: HARMONY-6307
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6307
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Java 6 branch, all platforms
>            Reporter: Catherine Hope
>            Assignee: Oliver Deakin
>             Fix For: 6.0M1
>
>         Attachments: 6307-patch.txt
>
>
> Static method java.net.HttpCookie.parse is not threadsafe in that calling this method
across multiple threads (but on thread local objects) will corrupt the resulting HttpCookie
objects.  The problem is the class is sharing static Setter objects for each cookie property,
to prevent the properties being set multiple times.  The fix is to make these object local.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message