agent/src/share/classes/sun/jvm/hotspot/ui/CommandProcessorPanel.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 7088955 Cdiff agent/src/share/classes/sun/jvm/hotspot/ui/CommandProcessorPanel.java

agent/src/share/classes/sun/jvm/hotspot/ui/CommandProcessorPanel.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2005, 2008, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2005, 2011, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 86,96 **** final String ln = trimContinuations(cmd); SwingUtilities.invokeLater(new Runnable() { public void run() { beginUpdate(); try { ! commands.executeCommand(ln); commands.printPrompt(); Document d = editor.getDocument(); try { d.insertString(d.getLength(), baos.toString(), null); } --- 86,96 ---- final String ln = trimContinuations(cmd); SwingUtilities.invokeLater(new Runnable() { public void run() { beginUpdate(); try { ! commands.executeCommand(ln, true); commands.printPrompt(); Document d = editor.getDocument(); try { d.insertString(d.getLength(), baos.toString(), null); }
*** 147,157 **** } public void clear() { EditableAtEndDocument d = (EditableAtEndDocument) editor.getDocument(); d.clear(); ! commands.executeCommand(""); setMark(); editor.requestFocus(); } public void setMark() { --- 147,157 ---- } public void clear() { EditableAtEndDocument d = (EditableAtEndDocument) editor.getDocument(); d.clear(); ! commands.executeCommand("", false); setMark(); editor.requestFocus(); } public void setMark() {
agent/src/share/classes/sun/jvm/hotspot/ui/CommandProcessorPanel.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File