On Mon, 23 Oct 2023 08:17:43 GMT, Uwe Schindler <uschind...@openjdk.org> wrote:
>> Raffaello Giulietti has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Using compareUnsigned() rather than open logic. > > This caused issue sin Apache Lucene, as it should not chnge message as it was > befor ethis change. > > See https://bugs.openjdk.org/browse/JDK-8318646 @uschindler The spec of `parse[Int|Long]` is committed to throw particular exception types, but says nothing about the message content. IMO, relying on exception messages should be considered as a last resort choice, as they can change. However, I agree that this is an easy fix. ------------- PR Comment: https://git.openjdk.org/jdk/pull/16050#issuecomment-1774823680