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] Created: (HARMONY-2736) [drlvm][kernel] j.l.ClassLoader.definePackage() is not thread-safe
Date Fri, 15 Dec 2006 10:20:20 GMT
[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
            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

        

Mime
View raw message