[jdk21u-dev] RFR: 8319640: ClassicFormat::parseObject (from DateTimeFormatter) does not conform to the javadoc and may leak DateTimeException

Xiaolong Peng xpeng at openjdk.org
Wed Oct 30 17:20:06 UTC 2024


On Wed, 30 Oct 2024 07:48:27 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> Hi @pengxiaolong, how did you test this backport?

Hi @GoeLin, the bug itself is easy to reproduce and test, I found it when I was debugging an issue in OpenSearch last year. I have run the new test in `jdk/java/time/test/java/time/format/TestDateTimeParsing.java` added by Naoto Sato to verify the fix, those tests were designed for this fix.

-------------

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1101#issuecomment-2447859405


More information about the jdk-updates-dev mailing list