RFR: 8360575: java.util.Properties.list() methods trim each value to 37 characters in the listed output [v2]
Roger Riggs
rriggs at openjdk.org
Fri Jun 27 14:12:40 UTC 2025
On Fri, 27 Jun 2025 14:03:59 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
>> 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.
>
> Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:
>
> Alan's review - limit the details in implNote
History note from the commit added by avh:
"Added some debugging methods.
jdk/src/share/classes/java/util/Properties.java 1.8 Tue 13-06-1995 18:04:34"
It does not seem to be intended as anything but a debugging aid.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26018#issuecomment-3013216009
More information about the core-libs-dev
mailing list