/[classpath]/classpath/gnu/classpath/jdwp/processor/StringReferenceCommandSet.java
ViewVC logotype

Diff of /classpath/gnu/classpath/jdwp/processor/StringReferenceCommandSet.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.1 by gnu_andrew, Tue Aug 2 20:12:08 2005 UTC revision 1.1.2.2 by gnu_andrew, Sat Sep 10 15:31:36 2005 UTC
# Line 16  General Public License for more details. Line 16  General Public License for more details.
16    
17  You should have received a copy of the GNU General Public License  You should have received a copy of the GNU General Public License
18  along with GNU Classpath; see the file COPYING.  If not, write to the  along with GNU Classpath; see the file COPYING.  If not, write to the
19  Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20  02111-1307 USA.  02110-1301 USA.
21    
22  Linking this library statically or dynamically with other modules is  Linking this library statically or dynamically with other modules is
23  making a combined work based on this library.  Thus, the terms and  making a combined work based on this library.  Thus, the terms and
# Line 40  exception statement from your version. * Line 40  exception statement from your version. *
40    
41  package gnu.classpath.jdwp.processor;  package gnu.classpath.jdwp.processor;
42    
 import gnu.classpath.jdwp.Jdwp;  
43  import gnu.classpath.jdwp.JdwpConstants;  import gnu.classpath.jdwp.JdwpConstants;
44  import gnu.classpath.jdwp.exception.JdwpException;  import gnu.classpath.jdwp.exception.JdwpException;
45  import gnu.classpath.jdwp.exception.JdwpInternalErrorException;  import gnu.classpath.jdwp.exception.JdwpInternalErrorException;
# Line 57  import java.nio.ByteBuffer; Line 56  import java.nio.ByteBuffer;
56   *   *
57   * @author Aaron Luchko <aluchko@redhat.com>   * @author Aaron Luchko <aluchko@redhat.com>
58   */   */
59  public class StringReferenceCommandSet implements CommandSet  public class StringReferenceCommandSet
60      extends CommandSet
61  {  {
62    
63    public boolean runCommand(ByteBuffer bb, DataOutputStream os, byte command)    public boolean runCommand(ByteBuffer bb, DataOutputStream os, byte command)
# Line 90  public class StringReferenceCommandSet i Line 90  public class StringReferenceCommandSet i
90    private void executeValue(ByteBuffer bb, DataOutputStream os)    private void executeValue(ByteBuffer bb, DataOutputStream os)
91        throws JdwpException, IOException        throws JdwpException, IOException
92    {    {
93      ObjectId oid = Jdwp.getIdManager().readId(bb);      ObjectId oid = idMan.readObjectId(bb);
94    
95      String str = (String) oid.getObject();      String str = (String) oid.getObject();
96      JdwpString.writeString(os, str);      JdwpString.writeString(os, str);

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26