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

Chen Liang liach at openjdk.org
Mon May 12 15:24: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

Thanks for the reviews! JDK tier 1-3 all pass. Will wait for review from all time zones before integrating.

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

PR Comment: https://git.openjdk.org/jdk/pull/25174#issuecomment-2873005732


More information about the core-libs-dev mailing list