# HG changeset patch # User jbachorik # Date 1430405079 -7200 # Node ID de1d432598909b1d3f7b91e828c2a4b385134302 # Parent 337397328b72b6774de37d7647d8c67bf68fa0ef 8072906: sun/management/jmxremote/bootstrap/CustomLauncherTest.java failing on embedded platform Reviewed-by: sspitsyn, dholmes diff -r 337397328b72 -r de1d43259890 jdk/test/sun/management/jmxremote/bootstrap/CustomLauncherTest.java --- a/jdk/test/sun/management/jmxremote/bootstrap/CustomLauncherTest.java Sat May 02 18:40:59 2015 -0700 +++ b/jdk/test/sun/management/jmxremote/bootstrap/CustomLauncherTest.java Thu Apr 30 16:44:39 2015 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -109,6 +109,8 @@ try { String[] launcher = getLauncher(); + if (launcher == null) return; // launcher not available for the tested platform; skip + System.out.println("Starting custom launcher:"); System.out.println("========================="); System.out.println(" launcher : " + launcher[0]);