-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: core-libs
-
b09
-
generic
-
generic
While working on a separate Currency issue, noticed that the implementation of this method has room for improvement.
It is responsible for checking cut-over dates supplied via java.util.currency.data properties file.
It uses legacy SimpleDateFormat (and creates a new one for every check). Replacing with modern java.time alternative is significantly faster.
It is responsible for checking cut-over dates supplied via java.util.currency.data properties file.
It uses legacy SimpleDateFormat (and creates a new one for every check). Replacing with modern java.time alternative is significantly faster.
- links to
-
Commit(master)
openjdk/jdk/250ff86d
-
Review(master)
openjdk/jdk/23374