Integrated: 8283092: JMX subclass permission check redundant with strong encapsulation

Kevin Walls kevinw at openjdk.java.net
Tue Mar 22 07:58:38 UTC 2022


On Tue, 15 Mar 2022 20:22:16 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

> Removing permission checks which, in the presence of a Security Manager, would check for a RuntimePermission "className.subclass".  This was to prevent subclassing these classes, but is no longer necessary with strong encapsulation from modules.

This pull request has now been integrated.

Changeset: 37fc77ef
Author:    Kevin Walls <kevinw at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/37fc77ef60dd97c4acc468ecfeb6753132974720
Stats:     108 lines in 4 files changed: 28 ins; 45 del; 35 mod

8283092: JMX subclass permission check redundant with strong encapsulation

Reviewed-by: dfuchs, mchung

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

PR: https://git.openjdk.java.net/jdk/pull/7827



More information about the security-dev mailing list