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

JDK-8241716 has caused two tools/jpackage tests to fail on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows

      Description

      The following two tests are failing in the JDK17 CI:

      tools/jpackage/windows/WinShortcutPromptTest.java
      tools/jpackage/windows/WinInstallerUiTest.java

      Here's a snippet from the WinShortcutPromptTest.java log file

      ----------System.out:(2/138)----------
      [18:27:01.861] Parsing [--jpt-run=WinShortcutPromptTest]...
      [18:27:01.861] Error processing parameter=[--jpt-run=WinShortcutPromptTest]
      ----------System.err:(17/1343)----------
      jdk.jpackage.test.TestBuilder$ParseException: Default class name not found in parameter=[--jpt-run=WinShortcutPromptTest]
      at jdk.jpackage.test.TestBuilder.cmdLineArgValueToMethodNames(TestBuilder.java:249)
      at jdk.jpackage.test.TestBuilder.getJavaMethodsFromArg(TestBuilder.java:305)
      at jdk.jpackage.test.TestBuilder.lambda$new$3(TestBuilder.java:71)
      at jdk.jpackage.test.TestBuilder.processCmdLineArg(TestBuilder.java:113)
      at jdk.jpackage.test.Main.main(Main.java:49)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)

      JavaTest Message: Test threw exception: jdk.jpackage.test.TestBuilder$ParseException: Default class name not found in parameter=[--jpt-run=WinShortcutPromptTest]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              asemenyuk Alexey Semenyuk
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: