git: openjdk/jdk-sandbox: json: Removing number(). Unlike object()/array() which are structural, there are no benefits for the method

duke duke at openjdk.org
Wed Dec 17 19:25:47 UTC 2025


Changeset: 6fcc093a
Branch: json
Author:    Naoto Sato <naoto.sato at oracle.com>
Date:      2025-12-17 11:22:35 +0000
URL:       https://git.openjdk.org/jdk-sandbox/commit/6fcc093a18147e6f8fbed3b6d3b2bdf4fbe78b3c

Removing number(). Unlike object()/array() which are structural, there are no benefits for the method

! src/java.base/share/classes/java/util/json/JsonNumber.java
! src/java.base/share/classes/java/util/json/JsonValue.java
! src/java.base/share/classes/jdk/internal/util/json/JsonNumberImpl.java



More information about the jdk-sandbox-changes mailing list