Buggy code:
public class LoggingExtension implements Extension { private static final String RESOURCE_NAME = ( LoggingExtension . class . getPackage ( ) . getName ( ) ) + ".LocalDescriptions" ; static final String SUBSYSTEM_NAME = "logging" ; static final PathElement SUBSYSTEM_PATH = PathElement . pathElement ( SUBSYSTEM , LoggingExtension . SUBSYSTEM_NAME ) ; static final PathElement ROOT_LOGGER_PATH = PathElement . pathElement ( ROOT_LOGGER , ROOT_LOGGER_ATTRIBUTE_NAME ) ; static final PathElement LOGGER_PATH = PathElement . pathElement ( LOGGER ) ; static final PathElement ASYNC_HANDLER_PATH = PathElement . pathElement ( ASYNC_HANDLER ) ; static final PathElement CONSOLE_HANDLER_PATH = PathElement . pathElement ( CONSOLE_HANDLER ) ; static final PathElement CUSTOM_HANDLE_PATH = PathElement . pathElement ( CUSTOM_HANDLER ) ; static final PathElement FILE_HANDLER_PATH = PathElement . pathElement ( FILE_HANDLER ) ; static final PathElement PERIODIC_HANDLER_PATH = PathElement . pathElement ( PERIODIC_ROTATING_FILE_HANDLER ) ; static final PathElement SIZE_ROTATING_HANDLER_PATH = PathElement . pathElement ( SIZE_ROTATING_FILE_HANDLER ) ; static final ResourceDescriptionResolver FILTER_ATTRIBUTE_RESOLVER = LoggingExtension . getResourceDescriptionResolver ( HANDLER . getName ( ) ) ; static final ContextClassLoaderLogContextSelector CONTEXT_SELECTOR = new ContextClassLoaderLogContextSelector ( ) ; private static final int MANAGEMENT_API_MAJOR_VERSION = 1 ; private static final int MANAGEMENT_API_MINOR_VERSION = 2 ; private static final int MANAGEMENT_API_MICRO_VERSION = 0 ; static StandardResourceDescriptionResolver getResourceDescriptionResolver ( final String ... keyPrefix ) { } @ Override public void initialize ( final ExtensionContext context ) { LogContext . setLogContextSelector ( LoggingExtension . CONTEXT_SELECTOR ) ; final SubsystemRegistration subsystem = context . registerSubsystem ( LoggingExtension . SUBSYSTEM_NAME , LoggingExtension . MANAGEMENT_API_MAJOR_VERSION , LoggingExtension . MANAGEMENT_API_MINOR_VERSION , LoggingExtension . MANAGEMENT_API_MICRO_VERSION ) ; final ManagementResourceRegistration registration = subsystem . registerSubsystemModel ( INSTANCE ) ; <START_BUG> registration . registerOperationHandler ( DESCRIBE , GenericSubsystemDescribeHandler . INSTANCE , GenericSubsystemDescribeHandler . INSTANCE , false , PRIVATE ) ; <END_BUG> registration . registerSubModel ( RootLoggerResourceDefinition . INSTANCE ) ; registration . registerSubModel ( LoggerResourceDefinition . INSTANCE ) ; registration . registerSubModel ( AsyncHandlerResourceDefinition . INSTANCE ) ; registration . registerSubModel ( ConsoleHandlerResourceDefinition . INSTANCE ) ; registration . registerSubModel ( FileHandlerResourceDefinition . INSTANCE ) ; registration . registerSubModel ( PeriodicHandlerResourceDefinition . INSTANCE ) ; registration . registerSubModel ( SizePeriodicHandlerResourceDefinition . INSTANCE ) ; registration . registerSubModel ( CustomHandlerResourceDefinition . INSTANCE ) ; subsystem . registerXMLElementWriter ( LoggingSubsystemParser . INSTANCE ) ; } @ Override public void initializeParsers ( final ExtensionParsingContext context ) { } private static class LoggingResourceDescriptionResolver extends StandardResourceDescriptionResolver { private static final Map < String , String > COMMON_ATTRIBUTE_NAMES = new HashMap < String , String > ( ) ; public LoggingResourceDescriptionResolver ( final String keyPrefix , final String bundleBaseName , final ClassLoader bundleLoader ) { } @ Override public String getResourceAttributeDescription ( final String attributeName , final Locale locale , final ResourceBundle bundle ) { } @ Override public String getResourceAttributeValueTypeDescription ( final String attributeName , final Locale locale , final ResourceBundle bundle , final String ... suffixes ) { } @ Override public String getOperationParameterDescription ( final String operationName , final String paramName , final Locale locale , final ResourceBundle bundle ) { } @ Override public String getOperationParameterValueTypeDescription ( final String operationName , final String paramName , final Locale locale , final ResourceBundle bundle , final String ... suffixes ) { } private String getBundleKey ( final String name ) { } private String getVariableBundleKey ( final String name , final String ... variable ) { } } }

Fix:
registration . registerOperationHandler ( DEFINITION , GenericSubsystemDescribeHandler . INSTANCE ) ;