On Fri, 18 Mar 2022 17:49:05 GMT, Kevin Walls <kev...@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.
>
> Kevin Walls has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Test update

src/java.management/share/classes/sun/management/spi/PlatformMBeanProvider.java 
line 210:

> 208:     }
> 209: 
> 210:     private PlatformMBeanProvider(Void unused) {

This `PlatformMBeanProvider(Void)` constructor is no longer needed.   Same for 
`AgentProvider(Void)` constructor.

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

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

Reply via email to