You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2007/01/30 15:20:33 UTC
[jira] Closed: (HARMONY-2736) [drlvm][kernel]
j.l.ClassLoader.definePackage() is not thread-safe
[ 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.