--- old/test/jdk/tools/launcher/FXLauncherTest.java 2018-01-11 14:58:17.080148823 -0800 +++ new/test/jdk/tools/launcher/FXLauncherTest.java 2018-01-11 14:58:16.629107554 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -29,7 +29,7 @@ * jfx app class, a main-class for the manifest, a bogus one and none. * All should execute except the incorrect fx app class entries. * @run main/othervm FXLauncherTest - * @key intermittent + * @key intermittent headful */ import java.io.File; import java.io.IOException; --- old/test/jdk/tools/launcher/RunpathTest.java 2018-01-11 14:58:18.326262841 -0800 +++ new/test/jdk/tools/launcher/RunpathTest.java 2018-01-11 14:58:17.863220473 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -71,6 +71,10 @@ public static void main(String... args) throws Exception { if (isSolaris || isLinux) { RunpathTest rp = new RunpathTest(); + if (rp.elfreaderCmd == null) { + System.err.println("Warning: test passes vacuously"); + return; + } rp.testRpath(); } }