JDK-8133980 : reuse emptySet, singletonSet, etc. for various views such as entrySet() on one-element Map
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.util:collections
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2015-08-19
  • Updated: 2016-05-04
  • Resolved: 2016-05-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Description
This might save a bit of work, but it might also create new issues. The various built-in special collections such as emptySet() etc. mentioned are serializable. It's not clear we want this. In fact we might want all collections views NOT to be serializable.