[21u] backport changes to TKit.java by JDK-8352419

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • 21-pool
    • Affects Version/s: 17, 21
    • Component/s: tools
    • None

      Need to fix JDK-8375080 jpackage tests that call TKit.throwSkippedException() which currently fail with ClassNotFoundException because they don't declare @library /test/lib and @build jtreg.SkippedException.

      The hardcoded bytecode approach (already in tip) eliminates this dependency entirely.

      We must backport only a small portion of the full fix from JDK-8352419.
      The only relevant part is the TKit.java hardcoded SkippedException change.

      Creating separate JBS issue because this affects other jpackage tests that might also call SkippedException but do not have the correct headers and JDK-8375080 was a JBS issue for a specific Windows test.


            Assignee:
            Min Choi
            Reporter:
            Min Choi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: