Details
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142149 | emb-9 | Naoto Sato | P4 | Resolved | Fixed | team |
Description
The API doc of Currency.getInstance(Locale) specifies NullPointerException to be thrown if locale's country is null. However, Locale.getCountry() never returns null.
NullPointerException - if locale or its country code is null
should be
NullPointerException - if locale is null
NullPointerException - if locale or its country code is null
should be
NullPointerException - if locale is null
Attachments
Issue Links
- backported by
-
JDK-8142149 Currency.getInstance(Locale) API doc is incorrect
-
- Resolved
-