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

Roger Riggs rriggs at openjdk.org
Mon May 12 15:24:51 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 good

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

Marked as reviewed by rriggs (Reviewer).

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


More information about the core-libs-dev mailing list