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 fromJDK-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.
The hardcoded bytecode approach (already in tip) eliminates this dependency entirely.
We must backport only a small portion of the full fix from
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.
- relates to
-
JDK-8375080 The tools/jpackage/windows/Win8365790Test.java may fail with ClassNotFoundException: jtreg.SkippedException
-
- In Progress
-
-
JDK-8352419 Test tools/jpackage/share/ErrorTest.java#id0 and #id1 fail
-
- Resolved
-
- links to
-
Review(master)
openjdk/jdk21u-dev/2633