package org.apache.logging.log4j.core.lookup;

import java.lang.management.ManagementFactory;
import java.util.List;
import java.util.Map;

import org.apache.logging.log4j.core.config.plugins.Plugin;

/**
 * Maps JVM input arguments (but not main arguments) using JMX to acquire JVM arguments.
 * 
 * @see java.lang.management.RuntimeMXBean#getInputArguments()
 * @since 2.1
 */
@Plugin(name = "jvmrunargs", category = "Lookup")
public class JmxRuntimeInputArgumentsLookup extends MapLookup {

    static {
        List<String> argsList = ManagementFactory.getRuntimeMXBean().getInputArguments();
        JMX_SINGLETON = new JmxRuntimeInputArgumentsLookup(MapLookup.toMap(argsList));
    }

    public static final JmxRuntimeInputArgumentsLookup JMX_SINGLETON;

    public JmxRuntimeInputArgumentsLookup(Map<String, String> map) {
        super(map);
    }

}

@@ -755,16 +755,153 @@
 LETON;%0A%0A
+    /**%0A     * Constructor when used directly as a plugin.%0A     */%0A    public JmxRuntimeInputArgumentsLookup() %7B%0A        super();%0A    %7D%0A%0A
     publ

Add lookup for JVM arguments. Add missing ctor.