> 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 five additional commits since the last revision: - 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/03d97768..e22a52fa Webrevs: - full: https://webrevs.openjdk.org/?repo=valhalla&pr=2187&range=02 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=2187&range=01-02 Stats: 24850 lines in 720 files changed: 12057 ins; 6714 del; 6079 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
