Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
Browse files
8260592: jpackage tests fail when Desktop is not supported
Reviewed-by: asemenyuk
Backport-of: 24a262124f507759d72cddc0d1371b31ef1661cf
  • Loading branch information
shipilev committed Mar 3, 2021
1 parent 247fea2 commit e19759ba9ad1c4b57f72d4b411a0aafb45bf7468
Showing 1 changed file with 6 additions and 0 deletions.
@@ -154,6 +154,12 @@ private static Hello createInstance() {

trace("Environment supports a display");

if (!Desktop.isDesktopSupported()) {
return null;

trace("Environment supports a desktop");

try {
// Disable JAB.
// Needed to suppress error:

1 comment on commit e19759b

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.