@@ -0,0 +1,2384 @@
+/* %0A * Licensed to the Apache Software Foundation (ASF) under one or more%0A * contributor license agreements.  See the NOTICE file distributed with%0A * this work for additional information regarding copyright ownership.%0A * The ASF licenses this file to You under the Apache License, Version 2.0%0A * (the %22License%22); you may not use this file except in compliance with%0A * the License.  You may obtain a copy of the License at%0A * %0A *     http://www.apache.org/licenses/LICENSE-2.0%0A * %0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage java.lang.management;%0A%0Aimport java.security.BasicPermission;%0Aimport java.security.SecurityPermission;%0A%0A/**%0A * %3Cp%3E%0A * A %7B@link SecurityPermission%7D for use with the management system.%0A * %3C/p%3E%0A * %0A * @since 1.5%0A */%0Apublic final class ManagementPermission extends BasicPermission %7B%0A    private static final long serialVersionUID = 1897496590799378737L;%0A%0A    /**%0A     * %3Cp%3E%0A     * Constructs and instance with the given name.%0A     * %3C/p%3E%0A     * %0A     * @param name The permission name, which must be %3Ccode%3E%22monitor%22%3C/code%3E%0A     *        or %3Ccode%3E%22control%22%3C/code%3E.%0A     * @throws IllegalArgumentException if %3Ccode%3Ename%3C/code%3E is invalid.%0A     */%0A    public ManagementPermission(String name) %7B%0A        super(name);%0A        if (!%22control%22.equals(name) && !%22monitor%22.equals(name)) %7B%0A            throw new IllegalArgumentException();%0A        %7D%0A    %7D%0A%0A    /**%0A     * %3Cp%3E%0A     * Constructs and instance with the given name.%0A     * %3C/p%3E%0A     * %0A     * @param name The permission name, which must be %3Ccode%3E%22monitor%22%3C/code%3E%0A     *        or %3Ccode%3E%22control%22%3C/code%3E.%0A     * @param actions This is not used, so it must be %3Ccode%3Enull%3C/code%3E or%0A     *        empty.%0A     * @throws IllegalArgumentException if %3Ccode%3Ename%3C/code%3E is invalid.%0A     */%0A    public ManagementPermission(String name, String actions) %7B%0A        super(name, actions);%0A        if (!%22control%22.equals(name) && !%22monitor%22.equals(name)) %7B%0A            throw new IllegalArgumentException();%0A        %7D%0A        if (actions != null && actions.length() != 0) %7B%0A            throw new IllegalArgumentException();%0A        %7D%0A    %7D%0A%7D%0A

fix API signature according to JavaDoc and JAPI reverse report on Harmony and RI