[ http://issues.apache.org/jira/browse/HARMONY-2736?page=all ]
Alexey Varlamov reassigned HARMONY-2736:
----------------------------------------
Assignee: Alexey Varlamov
> [drlvm][kernel] j.l.ClassLoader.definePackage() is not thread-safe
> ------------------------------------------------------------------
>
> Key: HARMONY-2736
> URL: http://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.
-
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
|