mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8298966: Deprecate JMX Subject Delegation and the method JMXConnector.getMBeanServerConnection(Subject) for removal.
Reviewed-by: mchung, dfuchs
This commit is contained in:
parent
10f1674625
commit
4e631fa43f
2 changed files with 9 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2002, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -390,6 +390,7 @@ public class RMIConnector implements JMXConnector, Serializable, JMXAddressable
|
|||
return getMBeanServerConnection(null);
|
||||
}
|
||||
|
||||
@SuppressWarnings("removal")
|
||||
public synchronized MBeanServerConnection
|
||||
getMBeanServerConnection(Subject delegationSubject)
|
||||
throws IOException {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue