RFR: 8325945: Error reporting should limit the number of String characters printed [v2]

David Holmes dholmes at openjdk.org
Wed Jul 17 05:32:26 UTC 2024


On Wed, 17 Jul 2024 05:04:45 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> src/hotspot/share/runtime/globals.hpp line 1310:
>> 
>>> 1308:           "maximum number of characters to print for a java.lang.String "   \
>>> 1309:           "in the VM. If exceeded, an abridged version of the string is "   \
>>> 1310:           "print with the middle of the string is elided.")                 \
>> 
>> Suggestion:
>> 
>>           "printed with the middle of the string is elided.")               \
>
> I think it should also be "... of the string elided" (without the "is").

Fixed. Don't know how I missed that.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20150#discussion_r1680426244


More information about the hotspot-dev mailing list