Make sure object-writing serialization fails for "strict in serializable super". We currently already fail when they are deserialized.
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - Another case - Make sure serialization fails for "strict in serializable super" Changes: https://git.openjdk.org/valhalla/pull/2612/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2612&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8387350 Stats: 103 lines in 3 files changed: 87 ins; 3 del; 13 mod Patch: https://git.openjdk.org/valhalla/pull/2612.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2612/head:pull/2612 PR: https://git.openjdk.org/valhalla/pull/2612
