RFR: 8356694: Removed unused subclass audits in ObjectInput/OutputStream

Alan Bateman alanb at openjdk.org
Mon May 12 06:31:52 UTC 2025


On Mon, 12 May 2025 02:18:05 GMT, Chen Liang <liach at openjdk.org> wrote:

> 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

Looks okay, looks like it was missed in the post JEP 486 cleanup.

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

Marked as reviewed by alanb (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25174#pullrequestreview-2831959455


More information about the core-libs-dev mailing list