harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prashanth KS (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-6677) [classlib][concurrent] NegativeArraySizeException reported in ArrayBlockingQueue under load
Date Thu, 18 Nov 2010 05:34:13 GMT

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

Prashanth KS updated HARMONY-6677:
----------------------------------

    Attachment: 001_HARMONY_6677.patch

Patch for the reported issue

> [classlib][concurrent] NegativeArraySizeException reported in ArrayBlockingQueue under
load
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6677
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6677
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 6.0M3
>         Environment: All Operating Systems
>            Reporter: Prashanth KS
>             Fix For: 6.0M4
>
>         Attachments: 001_HARMONY_6677.patch
>
>
> The extract() and the removeAt() methods in the ArrayBlockingQueue class do not have
a bounds check for the count variable and hence a NegativeArraySizeException is reported when
this class is load tested, with multiple threads.

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