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

Chen Liang liach at openjdk.org
Wed May 14 00:05:55 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

This pull request has now been integrated.

Changeset: a96424b2
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a96424b24cc7734f04716a4459e5d5e0a5c73c0d
Stats:     71 lines in 2 files changed: 0 ins; 69 del; 2 mod

8356694: Removed unused subclass audits in ObjectInput/OutputStream

Reviewed-by: alanb, rriggs

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

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


More information about the core-libs-dev mailing list