RFR: 8360575: java.util.Properties.list() methods trim each value to 37 characters in the listed output

Jaikiran Pai jpai at openjdk.org
Fri Jun 27 13:27:46 UTC 2025


Can I please get a review of this doc-only change which proposes to clarify the current implementation of the `java.util.Properties.list(...)` methods?

As noted in https://bugs.openjdk.org/browse/JDK-8360575, the current implementation trims each value to a size of 37 when printing out the value. This behaviour isn't documented by these methods. The change in this PR adds an `@implNote` to make a mention of this current behaviour.

-------------

Commit messages:
 - 8360575: java.util.Properties.list() methods trim each value to 37 characters in the listed output

Changes: https://git.openjdk.org/jdk/pull/26018/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26018&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8360575
  Stats: 21 lines in 1 file changed: 16 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/26018.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26018/head:pull/26018

PR: https://git.openjdk.org/jdk/pull/26018


More information about the core-libs-dev mailing list