< prev index next >

test/sun/tools/jconsole/ResourceCheckTest.java

Print this page
rev 16783 : 8176176: fix @modules in jdk_svc tests
Reviewed-by: duke


   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /**
  25  *
  26  *  @test
  27  *  @bug 5008856 5023573 5024917 5062569 7172176
  28  *  @summary 'missing resource key' error for key = "Operating system"

  29  *  @modules jdk.jconsole/sun.tools.jconsole
  30  *           jdk.jconsole/sun.tools.jconsole.resources:open

  31  *  @run main ResourceCheckTest
  32  */
  33 
  34 import java.lang.reflect.Field;
  35 import java.lang.reflect.Modifier;
  36 import java.lang.reflect.Module;
  37 import java.util.ArrayList;
  38 import java.util.Collections;
  39 import java.util.List;
  40 import java.util.Locale;
  41 import java.util.ResourceBundle;
  42 
  43 import sun.tools.jconsole.Messages;
  44 import sun.tools.jconsole.Resources;
  45 
  46 /*
  47  * Ensures that there is a one-to-one mapping between constants in the
  48  * Message class and the keys in the sun.tools.jconsole.resources.messages
  49  * bundle.
  50  *




   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /**

  25  * @test
  26  * @bug 5008856 5023573 5024917 5062569 7172176
  27  * @summary 'missing resource key' error for key = "Operating system"
  28  *
  29  * @modules jdk.jconsole/sun.tools.jconsole
  30  *          jdk.jconsole/sun.tools.jconsole.resources:open
  31  *
  32  * @run main ResourceCheckTest
  33  */
  34 
  35 import java.lang.reflect.Field;
  36 import java.lang.reflect.Modifier;
  37 import java.lang.reflect.Module;
  38 import java.util.ArrayList;
  39 import java.util.Collections;
  40 import java.util.List;
  41 import java.util.Locale;
  42 import java.util.ResourceBundle;
  43 
  44 import sun.tools.jconsole.Messages;
  45 import sun.tools.jconsole.Resources;
  46 
  47 /*
  48  * Ensures that there is a one-to-one mapping between constants in the
  49  * Message class and the keys in the sun.tools.jconsole.resources.messages
  50  * bundle.
  51  *


< prev index next >