On Fri, 27 Mar 2026 09:07:37 GMT, Alan Bateman <[email protected]> wrote:
> The JSON format thread dump generated by HotSpotDiagnosticMXBean.dumpThreads > and jcmd Thread.dump_to_file currently write the process and thread IDs as > strings. This is changed to write the IDs as numbers when in the "safe range" > that can be parsed by JS and other system. threadDump.schema.json is used to > document the format, this is updated to document the IDs as number or string. > > The changes include a test-only update to JSONValue to add support for > numbers.. While there, it is also updated to bring it closer to current > proposal/JSON for convenience methods. This will make it easier to replace > this test library class once a standard API is further along. A number of > security tests and one JFR test are updated, all trivial changes. > > Testing: Tier 1-5. The security test change looks fine to me. Thanks. ------------- PR Comment: https://git.openjdk.org/jdk/pull/30467#issuecomment-4142578762
