-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
java.util.logging.LoggingMXBean and java.util.logging.LogManager::getLoggingMXBean are deprecated since JDK-8139982 in JDK 9.
These deprecations should be uprated to state they are for future removal.
java.util.logging.Logging (implements LoggingMXBean) should also be deprecated for removal.
The interface `java.lang.management.PlatformLoggingMXBean` is the correct management interface for logging. As per the java.util.LogManager documentation, it can be accessed using: ManagementFactory.getPlatformMXBean(PlatformLoggingMXBean.class)
These deprecations should be uprated to state they are for future removal.
java.util.logging.Logging (implements LoggingMXBean) should also be deprecated for removal.
The interface `java.lang.management.PlatformLoggingMXBean` is the correct management interface for logging. As per the java.util.LogManager documentation, it can be accessed using: ManagementFactory.getPlatformMXBean(PlatformLoggingMXBean.class)
- csr for
-
JDK-8348407 Deprecate java.util.logging.LoggingMXBean, its implementation, and accessor method for removal
-
- Draft
-
- links to
-
Review(master) openjdk/jdk/23271