Log in
Skip to main content
Skip to sidebar
Dashboards
Projects
Issues
Help
Jira Core help
Keyboard Shortcuts
About Jira
Jira Credits
Log In
Watched Subcomponents
JDK
JDK-8238684
Override getOrDefault in immutable Map implementations
Log In
Export
XML
Word
Printable
Details
Type:
Enhancement
Status:
Resolved
Priority:
P4
Resolution:
Fixed
Affects Version/s:
None
Fix Version/s:
15
Component/s:
core-libs
Labels:
performance
startup
Subcomponent:
java.util:collections
Resolved In Build:
b10
Description
Since null values are disallowed in the java.util immutable maps, we can improve upon the default implementation since a null return from get(key) always means that the default value should be returned.
Attachments
Activity
People
Assignee:
Claes Redestad
Reporter:
Claes Redestad
Votes:
0
Vote for this issue
Watchers:
1
Start watching this issue
Dates
Created:
2020-02-07 04:04
Updated:
2021-03-02 23:11
Resolved:
2020-02-08 06:23