JDK-8325361 : Make sun.net.www.MessageHeader final
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.net
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-02-06
  • Updated: 2024-03-05
  • Resolved: 2024-03-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 23
23 masterFixed
Description
MessageHeaders is a public internal class in sun.net.www that doesn't appear to be subclassed. It could be made final, which would make the this-escape warning go away.
Comments
Changeset: e85265ab Author: Korov <korov@korov-win-laptop> Committer: Daniel Fuchs <dfuchs@openjdk.org> Date: 2024-03-01 10:58:59 +0000 URL: https://git.openjdk.org/jdk/commit/e85265abc2426ff30031b1528cf1c6b4ecb5e11b
01-03-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/18060 Date: 2024-02-29 12:16:38 +0000
29-02-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/17997 Date: 2024-02-25 14:20:54 +0000
25-02-2024