RFR: 8299437: Make InetSocketAddressHolder shallowly immutable

Alan Bateman alanb at openjdk.org
Tue Jan 3 07:32:50 UTC 2023


On Mon, 2 Jan 2023 09:00:43 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR proposes to make the class `java.net.InetSocketAddress.InetSocketAddressHolder` shallowly immutable

Well spotted, I don't know why these fields weren't final from the start.

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

Marked as reviewed by alanb (Reviewer).

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


More information about the net-dev mailing list