> 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 six additional commits since the last revision: - 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/e22a52fa..e3ca7796 Webrevs: - full: https://webrevs.openjdk.org/?repo=valhalla&pr=2187&range=03 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=2187&range=02-03 Stats: 7 lines in 1 file changed: 7 ins; 0 del; 0 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
