equal
deleted
inserted
replaced
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()) |