On Mon, 23 Mar 2026 17:37:33 GMT, Alan Bateman <[email protected]> wrote:
> Test and docs only changes: > > - Add test coverage for HotSpotDiagnosticMXBean.dumpThreads for the stack > depth of owned monitors. > - Missing comma in threadDump.schema.json, the description of the json format > linked to in the API docs. > - ThreadDump test library, used by the tests for > HotSpotDiagnosticMXBean.dumpThreads, is updated with additional checks of the > threadContainers array. Several methods are re-implemented to use streams. > - JSONValue will likely go away once the json API is further along. In the > mean-time, some small improvements to model boolean and null, some methods to > better handle optional members and nulls, and change the runtime exception as > IllegalStateException didn't make sense. > - Update to one security test that was parsing string values as boolean. > > Testing: Tier 1-5. This pull request has now been integrated. Changeset: 3bf5022b Author: Alan Bateman <[email protected]> URL: https://git.openjdk.org/jdk/commit/3bf5022bc6b8bbc544502b3fc100c6debdb1b2c7 Stats: 294 lines in 5 files changed: 151 ins; 54 del; 89 mod 8380641: Thread dump parsing and test improvements 8378946: threadDump.schema.json syntax error, missing comma after owner Reviewed-by: amenkov, sspitsyn ------------- PR: https://git.openjdk.org/jdk/pull/30379
