jdk/test/tools/launcher/VersionCheck.java
changeset 39881 c082c149d6eb
parent 37540 e92d95400f31
child 40198 725b19ace748
equal deleted inserted replaced
39880:d4cfdddbc897 39881:c082c149d6eb
     1 /*
     1 /*
     2  * Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     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
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /**
    24 /**
    25  * @test
    25  * @test
    26  * @bug 6545058 6611182 8016209 8139986
    26  * @bug 6545058 6611182 8016209 8139986 8162746
    27  * @summary validate and test -version, -fullversion, and internal, as well as
    27  * @summary validate and test -version, -fullversion, and internal, as well as
    28  *          sanity checks if a tool can be launched.
    28  *          sanity checks if a tool can be launched.
    29  * @compile VersionCheck.java
    29  * @compile VersionCheck.java
    30  * @run main VersionCheck
    30  * @run main VersionCheck
    31  */
    31  */
    54         "javaw",
    54         "javaw",
    55         "javaws",
    55         "javaws",
    56         "jcontrol",
    56         "jcontrol",
    57         "jmc",
    57         "jmc",
    58         "jmc.ini",
    58         "jmc.ini",
    59         "jp2launcher",
    59         "jweblauncher",
    60         "jvisualvm",
    60         "jvisualvm",
    61         "packager",
    61         "packager",
    62         "ssvagent",
    62         "ssvagent",
    63         "unpack200",
    63         "unpack200",
    64         "wsimport"
    64         "wsimport"
    91         "jmc",
    91         "jmc",
    92         "jmc.ini",
    92         "jmc.ini",
    93         "jps",
    93         "jps",
    94         "jrunscript",
    94         "jrunscript",
    95         "jjs",
    95         "jjs",
    96         "jp2launcher",
       
    97         "jsadebugd",
    96         "jsadebugd",
    98         "jstack",
    97         "jstack",
    99         "jstat",
    98         "jstat",
   100         "jstatd",
    99         "jstatd",
       
   100         "jweblauncher",
   101         "jvisualvm",
   101         "jvisualvm",
   102         "keytool",
   102         "keytool",
   103         "kinit",
   103         "kinit",
   104         "klist",
   104         "klist",
   105         "ktab",
   105         "ktab",