RFR: 8338411: Implement JEP 486: Permanently Disable the Security Manager [v2]
    Sean Mullan 
    mullan at openjdk.org
       
    Fri Oct 18 19:56:18 UTC 2024
    
    
  
On Tue, 15 Oct 2024 22:14:00 GMT, Sean Mullan <mullan at openjdk.org> wrote:
>> src/java.management/share/classes/javax/management/remote/JMXConnectorFactory.java line 225:
>> 
>>> 223:      */
>>> 224:     public static JMXConnector connect(JMXServiceURL serviceURL)
>>> 225:             throws IOException {
>> 
>> I wonder if these changes should also be reverted, on the ground that a server may have authentication in place and may refuse the connection. Same below.
>
> Yes, good catches, I will revert some of these JMX methods that can also throw SecurityExceptions for non-SM reasons.
Yes, see the fix in https://github.com/openjdk/jdk/pull/21498/commits/23a43e0d90aff8754909785f582ba0666046cf6c.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21498#discussion_r1806953911
    
    
More information about the javadoc-dev
mailing list