You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Stefano Cordio (Jira)" <ji...@apache.org> on 2021/09/07 21:33:00 UTC

[jira] [Updated] (COLLECTIONS-799) UnmodifiableNavigableSet can be modified by pollFirst() and pollLast()

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

Stefano Cordio updated COLLECTIONS-799:
---------------------------------------
    External issue URL: https://github.com/apache/commons-collections/pull/250

> UnmodifiableNavigableSet can be modified by pollFirst() and pollLast()
> ----------------------------------------------------------------------
>
>                 Key: COLLECTIONS-799
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-799
>             Project: Commons Collections
>          Issue Type: Bug
>          Components: Collection, Set
>    Affects Versions: 4.4
>            Reporter: Stefano Cordio
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> [{{pollFirst()}}|https://docs.oracle.com/javase/7/docs/api/java/util/NavigableSet.html#pollFirst()] and [{{pollLast()}}|https://docs.oracle.com/javase/7/docs/api/java/util/NavigableSet.html#pollLast()] are successfully executed and do not throw an {{UnsupportedOperationException}} on an {{UnmodifiableNavigableSet}} instance.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)