harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r959630 - /harmony/enhanced/java/branches/java6/jdktools/modules/jpda/src/main/native/jdwp/common/agent/commands/ObjectReference.cpp
Date Thu, 01 Jul 2010 12:20:35 GMT
Author: hindessm
Date: Thu Jul  1 12:20:35 2010
New Revision: 959630

URL: http://svn.apache.org/viewvc?rev=959630&view=rev
Log:
Move comment (back) so that it is next to the code it refers to.

Modified:
    harmony/enhanced/java/branches/java6/jdktools/modules/jpda/src/main/native/jdwp/common/agent/commands/ObjectReference.cpp

Modified: harmony/enhanced/java/branches/java6/jdktools/modules/jpda/src/main/native/jdwp/common/agent/commands/ObjectReference.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/java6/jdktools/modules/jpda/src/main/native/jdwp/common/agent/commands/ObjectReference.cpp?rev=959630&r1=959629&r2=959630&view=diff
==============================================================================
--- harmony/enhanced/java/branches/java6/jdktools/modules/jpda/src/main/native/jdwp/common/agent/commands/ObjectReference.cpp
(original)
+++ harmony/enhanced/java/branches/java6/jdktools/modules/jpda/src/main/native/jdwp/common/agent/commands/ObjectReference.cpp
Thu Jul  1 12:20:35 2010
@@ -34,6 +34,7 @@ int
 ObjectReference::ReferenceTypeHandler::Execute(JNIEnv *jni) 
 {
     jobject jvmObject = m_cmdParser->command.ReadObjectID(jni);
+    // Can be: InternalErrorException, OutOfMemoryException, JDWP_ERROR_INVALID_OBJECT
     if (NULL == jvmObject) {
         JDWP_TRACE(LOG_RELEASE, (LOG_DATA_FL, "ReferenceType: ReadObjectID() returned NULL"));
         AgentException aex = GetExceptionManager().GetLastException();
@@ -41,7 +42,6 @@ ObjectReference::ReferenceTypeHandler::E
         JDWP_SET_EXCEPTION(aex);
         return err;
     }
-    // Can be: InternalErrorException, OutOfMemoryException, JDWP_ERROR_INVALID_OBJECT
     jclass jvmClass = jni->GetObjectClass(jvmObject); 
 
 #ifndef NDEBUG



Mime
View raw message