-
Type:
Sub-task
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: core-libs
-
None
ConcurrentHashMap.CollectionView is the root of a small class hierarchy with subclasses KeySetView, ValuesView, and EntrySetView. All are serializable, and none are publicly subclassable. CollectionView could be made a sealed class that permits those specific subclasses, and KeySetView in turn could be made final. (ValuesView and EntrySetView are already final.)
- csr for
-
JDK-8284272 Make ConcurrentHashMap.CollectionView a sealed hierarchy
-
- Closed
-