Skip to content
Browse files
8260592: jpackage tests fail when Desktop is not supported
Reviewed-by: asemenyuk, herrick
  • Loading branch information
shipilev committed Jan 29, 2021
1 parent d2b0ea1 commit 24a262124f507759d72cddc0d1371b31ef1661cf
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 24a2621

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.