jmx-dev RFR: 8326666: Remove the Java Management Extension (JMX) Subject Delegation feature [v7]

Kevin Walls kevinw at openjdk.org
Tue Mar 12 11:52:34 UTC 2024


On Mon, 11 Mar 2024 17:10:34 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> Kevin Walls has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   (C) oops
>
> src/java.management.rmi/share/classes/javax/management/remote/rmi/RMIConnector.java line 618:
> 
>> 616:                 throw new SecurityException("Subject Delegation has been removed.");
>> 617:             }
>> 618:         }
> 
> Can't this constructor be removed? It's a private inner class so we should be able to throw before calling that constructor?

Yes that can disappear with no impact.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18025#discussion_r1521324287


More information about the jmx-dev mailing list