harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-2736) [drlvm][kernel] j.l.ClassLoader.definePackage() is not thread-safe
Date Tue, 30 Jan 2007 14:20:33 GMT

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

Alexey Varlamov closed HARMONY-2736.
------------------------------------

    Resolution: Fixed

Fixed at r501401

> [drlvm][kernel] j.l.ClassLoader.definePackage() is not thread-safe
> ------------------------------------------------------------------
>
>                 Key: HARMONY-2736
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2736
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Alexey Varlamov
>         Assigned To: Alexey Varlamov
>            Priority: Minor
>
> There is possible data race in java.lang.ClassLoader.definePackage(): it performs check
and then updates internal collections in non-atomical way, so API contract can be violated
in multi-thread environment, concurrent call may result in non-unique instance returned.

-- 
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