agent/src/share/classes/sun/jvm/hotspot/ui/CommandProcessorPanel.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/agent/src/share/classes/sun/jvm/hotspot/ui/CommandProcessorPanel.java Fri Sep 9 14:16:05 2011
--- new/agent/src/share/classes/sun/jvm/hotspot/ui/CommandProcessorPanel.java Fri Sep 9 14:16:05 2011
*** 1,7 ****
--- 1,7 ----
/*
! * Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved.
! * 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 ****
--- 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 ****
--- 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