Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8164520

java/lang/ProcessHandle/Basic.java is missing @library tag

    Details

    • Subcomponent:
    • Resolved In Build:
      b135

      Description

      java/lang/ProcessHandle/Basic.java is missing the correct @library tag:

      C:\\Users\\aurora\\CommonData\\j2se_jdk\\jdk\\test\\java\\lang\\ProcessHandle\\ProcessUtil.java:32: error: package jdk.test.lib does not exist
      import jdk.test.lib.Platform;
                         ^
      C:\\Users\\aurora\\CommonData\\j2se_jdk\\jdk\\test\\java\\lang\\ProcessHandle\\TreeTest.java:40: error: package jdk.test.lib does not exist
      import jdk.test.lib.Utils;
                         ^
      C:\\Users\\aurora\\CommonData\\j2se_jdk\\jdk\\test\\java\\lang\\ProcessHandle\\ProcessUtil.java:162: error: cannot find symbol
              return Platform.isWindows() && p.info().command().orElse("").endsWith("C:\\\\Windows\\\\System32\\\\conhost.exe");
                     ^
        symbol: variable Platform
        location: class ProcessUtil
      C:\\Users\\aurora\\CommonData\\j2se_jdk\\jdk\\test\\java\\lang\\ProcessHandle\\ProcessUtil.java:224: error: cannot find symbol
              if (Platform.isWindows()) {
                  ^
        symbol: variable Platform
        location: class ProcessUtil
      C:\\Users\\aurora\\CommonData\\j2se_jdk\\jdk\\test\\java\\lang\\ProcessHandle\\ProcessUtil.java:226: error: cannot find symbol
              } else if (Platform.isLinux() || Platform.isOSX()) {
                         ^
        symbol: variable Platform
        location: class ProcessUtil
      C:\\Users\\aurora\\CommonData\\j2se_jdk\\jdk\\test\\java\\lang\\ProcessHandle\\ProcessUtil.java:226: error: cannot find symbol
              } else if (Platform.isLinux() || Platform.isOSX()) {
                                               ^
        symbol: variable Platform
        location: class ProcessUtil
      C:\\Users\\aurora\\CommonData\\j2se_jdk\\jdk\\test\\java\\lang\\ProcessHandle\\TreeTest.java:192: error: cannot find symbol
                  long timeout = Utils.adjustTimeout(60L);
                                 ^
        symbol: variable Utils
        location: class TreeTest
      C:\\Users\\aurora\\CommonData\\j2se_jdk\\jdk\\test\\java\\lang\\ProcessHandle\\TreeTest.java:274: error: cannot find symbol
                  Assert.assertTrue(spawnCount.await(Utils.adjustTimeout(30L), TimeUnit.SECONDS),
                                                     ^
        symbol: variable Utils
        location: class TreeTest
      C:\\Users\\aurora\\CommonData\\j2se_jdk\\jdk\\test\\java\\lang\\ProcessHandle\\TreeTest.java:301: error: cannot find symbol
                      for (long retries = Utils.adjustTimeout(100L); retries > 0 ; retries--) {
                                          ^
        symbol: variable Utils
        location: class TreeTest
      C:\\Users\\aurora\\CommonData\\j2se_jdk\\jdk\\test\\java\\lang\\ProcessHandle\\TreeTest.java:426: error: cannot find symbol
                  Assert.assertTrue(spawnCount.await(Utils.adjustTimeout(30L), TimeUnit.SECONDS),
                                                     ^
        symbol: variable Utils
        location: class TreeTest
      10 errors
      result: Failed. Compilation failed: Compilation failed

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ctornqvi Christian Tornqvist
                Reporter:
                ctornqvi Christian Tornqvist
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: