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

jpackage tests build rpm packages on Ubuntu test machines after JDK-8351372

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 25
    • 25
    • tools
    • b15
    • generic

      Typo in PackageTest.isEnabled() at [1] causes building rpm packages on Ubuntu test machines in jpackage test runs. However, only deb packages should be built on Ubuntu test machines.

      Troublesome code:
      ---
          public boolean isEnabled() {
              return supported;
          }
      ---

      It should be changed to:
      ---
          public boolean isEnabled() {
              return enabled;
          }
      ---

      This typo was introduced in JDK-8352293

      [1] https://github.com/openjdk/jdk/blob/b025d8c2e062210b6148da43f11517666b0b4932/test/jdk/tools/jpackage/helpers/jdk/jpackage/test/PackageType.java#L89

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

              Created:
              Updated:
              Resolved: