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

Bug in JPackageCommand.ignoreFakeRuntime()

XMLWordPrintable

    • b06
    • generic
    • generic

        JPackageCommand.ignoreFakeRuntime() method [1] mistakenly tests if Java runtime configured for the current jpackage command is a valid Java runtime.

        It must test the runtime configured for jpackage tests with "jdk.jpackage.test.runtime-image" system property instead.

        [1] https://github.com/openjdk/jdk/blob/88fa3b2fe9bccf9cd4a4041732e2f6d425c19244/test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JPackageCommand.java#L692

              asemenyuk Alexey Semenyuk
              asemenyuk Alexey Semenyuk
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: