> 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 incrementally with two additional commits since the last revision: - 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]> ------------- Changes: - all: https://git.openjdk.org/valhalla/pull/2187/files - new: https://git.openjdk.org/valhalla/pull/2187/files/f5399509..03d97768 Webrevs: - full: https://webrevs.openjdk.org/?repo=valhalla&pr=2187&range=01 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=2187&range=00-01 Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 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
