RFR: JDK-8241995: Clarify InetSocketAddress::toString specification
Julia Boes
jboes at openjdk.java.net
Wed Feb 3 11:39:40 UTC 2021
On Tue, 2 Feb 2021 16:14:10 GMT, Michael McMahon <michaelm at openjdk.org> wrote:
>> This change clarifies the InetSocketAddress::toString specification, which was recently updated to reflect an implementation change [1]. The specification is not changed, but it is enhanced with two examples and some more verbiage, as per earlier suggestions on the net-dev mailing list [2][3].
>>
>> [1] https://bugs.openjdk.java.net/browse/JDK-8225499
>> [2] https://mail.openjdk.java.net/pipermail/net-dev/2020-April/013776.html
>> [3] https://mail.openjdk.java.net/pipermail/net-dev/2021-February/015297.html
>
> Maybe could say "rather than parsing the output of toString()" instead of "rather than parsing the string representation". Might be clearer?
Ok, how about this: "rather than parsing the string returned by this toString() method"?
-------------
PR: https://git.openjdk.java.net/jdk/pull/2357
More information about the net-dev
mailing list