On Wed, 2 Sep 2026 23:11:33 GMT, Joe Darcy <[email protected]> wrote:
>> Naoto Sato has updated the pull request incrementally with two additional
>> commits since the last revision:
>>
>> - Merge remote-tracking branch 'jdk-sandbox/json' into
>> JDK-8381976-Implementation-for-Simple-JSON-API
>> - or -> nor
>
> src/jdk.incubator.json/share/classes/jdk/incubator/json/JsonParseException.java
> line 41:
>
>> 39: public final class JsonParseException extends RuntimeException {
>> 40:
>> 41: @Serial
>
> Shouldn't the class have some kind of readObject logic to guard against
> invalid values for line and pos?
Right. I'll add `readObject` to reject invalid values
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/32282#discussion_r3919624649