-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
8
This issue is the same as JDK-8016775
but related to spliterators returned by Collections.emptyMap()
The following JCK tests will fail:
api/java_util/Collections/empty/index.html#EmptyMapEntrySetSpliterator[hasCharacteristics_DISTINCT]
api/java_util/Collections/empty/index.html#EmptyMapEntrySetSpliterator[characteristics_DISTINCT]
api/java_util/Collections/empty/index.html#EmptyMapKeySetSpliterator[hasCharacteristics_DISTINCT]
api/java_util/Collections/empty/index.html#EmptyMapKeySetSpliterator[characteristics_DISTINCT]
api/java_util/Collections/empty/index.html#EMPTY_MAPEntrySetSpliterator[hasCharacteristics_DISTINCT]
api/java_util/Collections/empty/index.html#EMPTY_MAPEntrySetSpliterator[characteristics_DISTINCT]
api/java_util/Collections/empty/index.html#EMPTY_MAPKeySetSpliterator[hasCharacteristics_DISTINCT]
api/java_util/Collections/empty/index.html#EMPTY_MAPKeySetSpliterator[characteristics_DISTINCT]
but related to spliterators returned by Collections.emptyMap()
The following JCK tests will fail:
api/java_util/Collections/empty/index.html#EmptyMapEntrySetSpliterator[hasCharacteristics_DISTINCT]
api/java_util/Collections/empty/index.html#EmptyMapEntrySetSpliterator[characteristics_DISTINCT]
api/java_util/Collections/empty/index.html#EmptyMapKeySetSpliterator[hasCharacteristics_DISTINCT]
api/java_util/Collections/empty/index.html#EmptyMapKeySetSpliterator[characteristics_DISTINCT]
api/java_util/Collections/empty/index.html#EMPTY_MAPEntrySetSpliterator[hasCharacteristics_DISTINCT]
api/java_util/Collections/empty/index.html#EMPTY_MAPEntrySetSpliterator[characteristics_DISTINCT]
api/java_util/Collections/empty/index.html#EMPTY_MAPKeySetSpliterator[hasCharacteristics_DISTINCT]
api/java_util/Collections/empty/index.html#EMPTY_MAPKeySetSpliterator[characteristics_DISTINCT]
- duplicates
-
JDK-8022797 Clarify spliterator characteristics for collections containing no elements
- Closed
- relates to
-
JDK-8016775 Collections.emptySet().spliterator().hasCharacteristics(Spliterator.DISTINCT)) returns false
- Closed