test/jdk/java/util/ResourceBundle/Control/MissingResourceCauseTestRun.java
changeset 55680 cd48f8f260c8
parent 52889 4ac336352a29
equal deleted inserted replaced
55679:aa96c53c592b 55680:cd48f8f260c8
     1 /*
     1 /*
     2  * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2007, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    83         // MalformedDataRB_en.properties is in Utils.TEST_SRC
    83         // MalformedDataRB_en.properties is in Utils.TEST_SRC
    84         // UnreadableRB.properties is in current directory
    84         // UnreadableRB.properties is in current directory
    85         String cp = Utils.TEST_CLASSES + File.pathSeparator + Utils.TEST_SRC
    85         String cp = Utils.TEST_CLASSES + File.pathSeparator + Utils.TEST_SRC
    86                 + File.pathSeparator + ".";
    86                 + File.pathSeparator + ".";
    87         JDKToolLauncher launcher = JDKToolLauncher.createUsingTestJDK("java");
    87         JDKToolLauncher launcher = JDKToolLauncher.createUsingTestJDK("java");
    88         launcher.addToolArg("-esa")
    88         launcher.addToolArg("-ea")
       
    89                 .addToolArg("-esa")
    89                 .addToolArg("-cp")
    90                 .addToolArg("-cp")
    90                 .addToolArg(cp)
    91                 .addToolArg(cp)
    91                 .addToolArg("MissingResourceCauseTest");
    92                 .addToolArg("MissingResourceCauseTest");
    92 
    93 
    93         int exitCode = ProcessTools.executeCommand(launcher.getCommand())
    94         int exitCode = ProcessTools.executeCommand(launcher.getCommand())