RFR: 8368172: Make java.time.format.DateTimePrintContext immutable [v4]
Shaojin Wen
swen at openjdk.org
Fri Sep 26 22:14:20 UTC 2025
On Fri, 26 Sep 2025 15:14:16 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> This has a much more invasive impact on PrinterParsers than the version with an extra argument on the format method. Are there other implementations of the nested depth counter in DateTimePrinterContext?
I also agree that #
version 558fa46 has too many changes; I haven't found a better version yet.
The advantage of the current version is that it clearly defines "optional" as a feature that is handled during build time, rather than during formatting.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26913#issuecomment-3340654567
More information about the core-libs-dev
mailing list