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

Compilation error in Win8365790Test.java with JDK-8358723 fix resulting in CI tier3 failure

XMLWordPrintable

    • b03

      The tools/jpackage/windows/Win8365790Test.java test fails to compile after JDK-8358723—its 25u backport JDK-8369477—was integrated.

      …\test\jdk\tools\jpackage\windows\Win8365790Test.java:71: error: cannot inherit from final AdditionalLauncher
              new AdditionalLauncher("probe") {
                  ^
      …\test\jdk\tools\jpackage\windows\Win8365790Test.java:72: error: method does not override or implement a method from a supertype
                  @Override
                  ^
      2 errors
      result: Failed. Compilation failed: Compilation failed


      JDK-8358723 changes the AdditionalLauncher class to be final. https://github.com/openjdk/jdk25u/commit/1bb4af873a3cb7ad1e404cbd18c7784a0bbce62a#diff-1922c65c19cdb2529e93eb894f04132ee09971afe7e90894cb34f9d92ec3f901L44-R50

            asemenyuk Alexey Semenyuk
            rgangadhar Ramesh Gangadhar
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: