/openjdk10/jdk/test/com/sun/jdi/ |
H A D | GetLocalVariables2Test.java | 53 String command; 55 command = "0"; 57 command = "1"; 59 command = "2"; 106 if("command".equals(lv.name())) { 107 failure("Failure: LocalVariable \"command\" should not be visible at this point."); 109 System.out.println("Failure: \"command.isvisible(frame)\" returned true.");
|
/openjdk10/langtools/test/tools/javah/ |
H A D | T6893943.java | 60 System.err.println("Test command: " + Arrays.asList(args)); 62 List<String> command = new ArrayList<String>(); 63 command.add(new File(new File(javaHome, "bin"), "javah").getPath()); 64 command.addAll(Arrays.asList(args)); 65 //System.err.println("command: " + command); 67 ProcessBuilder pb = new ProcessBuilder(command);
|
/openjdk10/hotspot/test/runtime/NMT/ |
H A D | JcmdWithNMTDisabled.java | 44 // This test explicitly needs to be run with the exact command lines below, not passing on 77 public static void jcmdCommand(String command) throws Exception { argument 79 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", command});
|
H A D | ShutdownTwice.java | 48 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "shutdown"});
|
H A D | JcmdBaselineDetail.java | 48 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "baseline=true"});
|
H A D | MallocTrackingVerify.java | 76 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "summary" }); 86 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid,
|
H A D | MallocSiteHashOverflow.java | 58 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "statistics"}); 75 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "statistics"});
|
/openjdk10/jdk/test/sun/rmi/rmic/iiopCompilation/ |
H A D | IIOPCompilation.java | 80 List<String> command = Arrays.asList(rmicProgramStr, "-iiop", "-classpath", testClasses, classname); 81 System.out.println("Running command: " + command); 85 p = new ProcessBuilder(command).inheritIO().start();
|
/openjdk10/jdk/test/javax/management/ImplementationVersion/ |
H A D | ImplVersionTest.java | 71 String command = 78 System.out.println("ImplVersionCommand Exec Command = " +command); 79 Process proc = Runtime.getRuntime().exec(command);
|
/openjdk10/jdk/test/javax/management/remote/mandatory/version/ |
H A D | ImplVersionTest.java | 68 // Build command string 69 String command = 75 System.out.println("ImplVersionCommand Exec Command = " + command); 77 // Exec command 78 Process proc = Runtime.getRuntime().exec(command);
|
/openjdk10/jdk/test/java/lang/ProcessHandle/ |
H A D | InfoTest.java | 83 // Main can be used to run the tests from the command line with only testng.jar. 155 // the JavaChild for the "cputime" command. 169 Optional<String> command = info.command(); 170 if (command.isPresent()) { 175 Path actualPath = Paths.get(command.get()); 177 "Command: expected: " + javaExe + ", actual: " + command.get()); 189 // Now check that the first argument is not the same as the executed command 191 Assert.assertNotEquals(args[0], command, 193 + args[0] + ", command 429 spawn(String command, String... args) argument [all...] |
/openjdk10/hotspot/test/compiler/compilercontrol/share/scenario/ |
H A D | Scenario.java | 72 metQuiet |= cc.command == Command.QUIET; 87 jcmdExecCommands.add(JcmdType.ADD.command); 95 jcmdExecCommands.add(cmd.jcmdType.command); 99 // Add print command only in the end to get directives printed 101 jcmdExecCommands.add(JcmdType.PRINT.command); 117 // only the last output contains directives got from print command 149 * Type of diagnostic (jcmd) command 157 public final String command; field in class:Scenario.JcmdType 158 private JcmdType(String command) { argument 159 this.command 181 createCompileCommand(Command command, MethodDescriptor md, Compiler compiler) argument [all...] |
H A D | DirectiveBuilder.java | 171 switch (cc.command) { 186 Command command = cmd.command; 188 switch (command) { 216 dirFile.write(JSONFile.Element.PAIR, command.name); 218 dirFile.write(JSONFile.Element.PAIR, command.name); 224 throw new Error("TESTBUG: wrong command: " + command); 234 switch (cc.command) { 242 throw new Error("TESTBUG: incorrect command go [all...] |
H A D | CommandGenerator.java | 44 * Generates random command 46 * @return command 53 * Generates random number of random command 63 * Generates specified amount of random command 75 * Generates random compile command {@link CompileCommand} with specified 76 * command and method descriptor 78 * @param command a command type 80 * @param type a type of the command, or null to generate any 81 * @return the generated compile command 83 generateCompileCommand(Command command, MethodDescriptor md, Scenario.Type type) argument [all...] |
/openjdk10/jdk/test/sun/management/jmxremote/bootstrap/ |
H A D | AbstractFilePermissionTest.java | 166 List<String> command = new ArrayList<>(); 167 command.addAll(jdk.testlibrary.Utils.getVmOptions()); 168 command.add(mp); 169 command.add(pp); 170 command.add("-cp"); 171 command.add(TEST_CLASSES); 172 command.add(className); 176 command.toArray(new String[command.size()])); 178 System.out.println("test cmdline: " + Arrays.toString(processBuilder.command() [all...] |
H A D | RmiRegistrySslTest.java | 182 List<String> command = new ArrayList<>(); 183 command.addAll(Utils.getVmOptions()); 184 command.add("-Dtest.src=" + TEST_SRC); 185 command.add("-Dtest.rmi.port=" + port); 186 command.addAll(Arrays.asList(args)); 187 command.add("-cp"); 188 command.add(TEST_CLASS_PATH); 189 command.add(className); 191 ProcessBuilder processBuilder = ProcessTools.createJavaProcessBuilder(command.toArray(new String[command [all...] |
/openjdk10/jdk/test/java/security/KeyStore/PKCS12/ |
H A D | KeytoolReaderP12Test.java | 119 final String[] command = new String[]{"-debug", "-list", "-v", 122 runAndValidate(command, expectedValues); 129 final String[] command = new String[]{"-debug", "-export", "-alias", 132 runAndValidate(command, expectedValues); 135 private static void runAndValidate(String[] command, argument 137 OutputAnalyzer output = Utils.executeKeytoolCommand(command);
|
H A D | KeytoolWriteP12Test.java | 88 final String[] command = new String[]{"-debug", "-printcert", "-v", 90 Utils.executeKeytoolCommand(command); 97 final String[] command = new String[]{"-debug", "-list", "-v", "-alias", 103 OutputAnalyzer output = Utils.executeKeytoolCommand(command);
|
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/media/sound/ |
H A D | FastShortMessage.java | 105 public void setMessage(int command, int channel, int data1, int data2) throws InvalidMidiDataException { argument 106 getDataLength(command); // can throw InvalidMidiDataException 107 packedMsg = (command & 0xF0) | (channel & 0x0F) | ((data1 & 0xFF) << 8) | ((data2 & 0xFF) << 16);
|
/openjdk10/hotspot/test/runtime/MinimalVM/ |
H A D | JMX.java | 50 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), "-l"});
|
/openjdk10/hotspot/test/runtime/RedefineObject/ |
H A D | TestRedefineObject.java | 56 pb.command(new String[] { JDKToolFinder.getJDKTool("jar"), "cmf", "MANIFEST.MF", "agent.jar", "Agent.class"});
|
/openjdk10/hotspot/test/serviceability/jvmti/ |
H A D | GetObjectSizeClass.java | 50 pb.command(new String[] { JDKToolFinder.getJDKTool("jar"), "cmf", "MANIFEST.MF", "agent.jar", "GetObjectSizeClassAgent.class"});
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.test/src/org/graalvm/compiler/test/ |
H A D | SubprocessUtil.java | 49 * Gets the command line for the current process. 51 * @return the command line arguments for the current process or {@code null} if they are not 66 * Pattern for a single shell command argument that does not need to quoted. 71 * Reliably quote a string as a single shell command argument. 99 * Gets the command line used to start the current Java VM, including all VM arguments, but not 119 * The command line of the subprocess. 121 public final List<String> command; field in class:SubprocessUtil.Subprocess 133 public Subprocess(List<String> command, int exitCode, List<String> output) { argument 134 this.command = command; [all...] |
/openjdk10/common/bin/ |
H A D | hgforest.sh | 25 # Shell script for a fast parallel forest/trees command 28 echo "usage: $0 [-h|--help] [-q|--quiet] [-v|--verbose] [-s|--sequential] [--] <command> [commands...]" > ${status_output} 29 echo "command format : mercurial-command [ "jdk" ] [ extra-url ]" 30 echo "command option: jdk : used only with clone command to request just the extra repos for JDK-only builds" 31 echo "command option : extra-url : server hosting the extra repositories" 99 # Make sure we have a command. 101 echo "ERROR: No command to hg supplied!" > ${status_output} 105 # grab command [all...] |
/openjdk10/hotspot/test/runtime/SharedArchiveFile/ |
H A D | DumpSharedDictionary.java | 74 pb.command(new String[] {JDKToolFinder.getJDKTool("jcmd"), pid, "VM.systemdictionary"}); 82 output.shouldContain("Unknown diagnostic command"); 85 pb.command(new String[] {JDKToolFinder.getJDKTool("jcmd"), pid, "VM.systemdictionary", "-verbose"}); 92 output.shouldContain("Unknown diagnostic command");
|