JDK-8355004 : Apply java.io.Serial annotations in java.compiler
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 25
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2025-04-18
  • Updated: 2025-06-11
  • Resolved: 2025-05-31
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 25
25 b26Fixed
Related Reports
Relates :  
Description
The java.compiler module should use the new java.io.Serial annotation (JDK-8202385) to enable stricter compile-time checking of serialization-related declarations. 
Comments
Changeset: 5ad02c98 Branch: master Author: Sergey Bylokhov <serb@openjdk.org> Date: 2025-05-31 00:16:40 +0000 URL: https://git.openjdk.org/jdk/commit/5ad02c98f1d9227bb6abdd37126f2a351d4e1a50
31-05-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/24891 Date: 2025-04-25 22:46:07 +0000
26-04-2025