RFR: 8325361: Make sun.net.www.MessageHeader final

Alan Bateman alanb at openjdk.org
Sun Feb 25 14:30:54 UTC 2024


On Sun, 25 Feb 2024 14:20:54 GMT, Korov <duke at openjdk.org> wrote:

> Make sun.net.www.MessageHeader final, and replace C-style array type declaration with Java-style array declaration.

The motivation for JDK-8325361 is to remove `@SuppressWarnings("this-escape")` from the constructor.

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

PR Comment: https://git.openjdk.org/jdk/pull/17997#issuecomment-1962958347


More information about the net-dev mailing list