JDK 9 RFR of JDK-8162746: VersionCheck.java failure after change for JDK-8160921

Joseph D. Darcy joe.darcy at oracle.com
Thu Jul 28 22:11:28 UTC 2016


Hello,

When the binary p2launcher was renamed to jweblauncher (JDK-8160921), 
the test

tools/launcher/VersionCheck.java

did not get the corresponding update and started failing.

Please review the patch below to address this.

Thanks,

-Joe

--- a/test/tools/launcher/VersionCheck.java    Thu Jul 28 12:09:07 2016 
-0700
+++ b/test/tools/launcher/VersionCheck.java    Thu Jul 28 15:11:02 2016 
-0700
@@ -1,5 +1,5 @@
  /*
- * Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights 
reserved.
+ * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights 
reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
@@ -23,7 +23,7 @@

  /**
   * @test
- * @bug 6545058 6611182 8016209 8139986
+ * @bug 6545058 6611182 8016209 8139986 8162746
   * @summary validate and test -version, -fullversion, and internal, as 
well as
   *          sanity checks if a tool can be launched.
   * @compile VersionCheck.java
@@ -56,7 +56,7 @@
          "jcontrol",
          "jmc",
          "jmc.ini",
-        "jp2launcher",
+        "jweblauncher",
          "jvisualvm",
          "packager",
          "ssvagent",
@@ -93,11 +93,11 @@
          "jps",
          "jrunscript",
          "jjs",
-        "jp2launcher",
          "jsadebugd",
          "jstack",
          "jstat",
          "jstatd",
+        "jweblauncher",
          "jvisualvm",
          "keytool",
          "kinit",



More information about the core-libs-dev mailing list