On Mon, 2 Mar 2026 20:50:19 GMT, Vicente Romero <[email protected]> wrote:

> This PR is adding a new serialization warning for the case when a value class 
> declares one of the following serialization related methods:
> 
> - readObject
> - writeObject
> - readObjectNoData
> 
> They have no effect if declared in value classes, fact that should be 
> notified to the user,
> 
> TIA

This pull request has now been integrated.

Changeset: 2a3f2bf4
Author:    Vicente Romero <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/2a3f2bf46ce4a3e6a02aeefa15d51ea1d8154832
Stats:     169 lines in 21 files changed: 120 ins; 3 del; 46 mod

8378908: [lworld] Serializations warnings for value classes that have private 
serialization methods

Reviewed-by: liach

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

PR: https://git.openjdk.org/valhalla/pull/2187

Reply via email to