-
Bug
-
Resolution: Fixed
-
P4
-
8
-
b08
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8045639 | 8u25 | Stephen Colebourne | P4 | Resolved | Fixed | b01 |
JDK-8040034 | 8u20 | Stephen Colebourne | P4 | Resolved | Fixed | b11 |
JDK-8053867 | emb-8u26 | Stephen Colebourne | P4 | Resolved | Fixed | b17 |
This method is supposed to accept null to allow a copy of the formatter to be returned reset to the original state of having no resolver fields. The docs say:
"@param resolverFields the new set of resolver fields, null if no fields"
which was written to indicate that resetting to null is permitted.
The fix is to check for null and return a copy of the formatter. Note that there are two variations of the method which need fixing.
This should be backported to 8u.
"@param resolverFields the new set of resolver fields, null if no fields"
which was written to indicate that resetting to null is permitted.
The fix is to check for null and return a copy of the formatter. Note that there are two variations of the method which need fixing.
This should be backported to 8u.
- backported by
-
JDK-8040034 DateTimeFormatter withResolverFields() fails to accept null
-
- Resolved
-
-
JDK-8045639 DateTimeFormatter withResolverFields() fails to accept null
-
- Resolved
-
-
JDK-8053867 DateTimeFormatter withResolverFields() fails to accept null
-
- Resolved
-