On Fri, 27 Jun 2025 13:41:11 GMT, Alan Bateman <al...@openjdk.org> wrote:
> Are you sure you want to describe the format, even in an implNote? Although > the string representation probably hasn't changed in 25+ years, it's not > something that anything should become dependent on. I wasn't too sure how much detail to include. I've now trimmed it down to just note that the values are trimmed to 37 characters. > Updating the method description to include an example of how to print out the > properties and their values might be more useful. I've updated the PR to include a snippet which shows an alternate way of listing the `Properties` to a `PrintStream` or `PrintWriter`. > We also need to think about whether to just deprecate this method > (ThreadGroup.list too). Would you suggest doing it as part of the current changes or as a separate task? I can create follow up issues if it's OK to do that separately. ------------- PR Comment: https://git.openjdk.org/jdk/pull/26018#issuecomment-3013191836