> 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
Vicente Romero has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 10 additional commits since the last revision: - adding more documentation - Merge branch 'lworld' into JDK-8378908 - doc change - addressing review comments - Merge branch 'lworld' into JDK-8378908 - Merge branch 'lworld' into JDK-8378908 - Update src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java Co-authored-by: Chen Liang <[email protected]> - Update src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java Co-authored-by: Chen Liang <[email protected]> - adding tests plus bug fix - 8378908: [lworld] Serializations warnings for value classes that have private serialization methods ------------- Changes: - all: https://git.openjdk.org/valhalla/pull/2187/files - new: https://git.openjdk.org/valhalla/pull/2187/files/8a539cd2..162263b7 Webrevs: - full: https://webrevs.openjdk.org/?repo=valhalla&pr=2187&range=06 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=2187&range=05-06 Stats: 90340 lines in 2487 files changed: 48908 ins; 19312 del; 22120 mod Patch: https://git.openjdk.org/valhalla/pull/2187.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2187/head:pull/2187 PR: https://git.openjdk.org/valhalla/pull/2187
