These two subclass audits in ObjectInputStream and ObjectOutputStream were only 
used when security managers are present, which is no longer the case in 
releases 24 and newer. Thus, we can remove these two redundant `ClassValue` and 
the computation methods safely.

Testing: java/io/Serializable and ObjectInput, jdk tier 1-3 in progress

-------------

Commit messages:
 - 8356694: Removed unused subclass audits in ObjectInput/OutputStream

Changes: https://git.openjdk.org/jdk/pull/25174/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25174&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8356694
  Stats: 71 lines in 2 files changed: 0 ins; 69 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/25174.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25174/head:pull/25174

PR: https://git.openjdk.org/jdk/pull/25174

Reply via email to