You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2010/07/01 14:20:35 UTC
svn commit: r959630 -
/harmony/enhanced/java/branches/java6/jdktools/modules/jpda/src/main/native/jdwp/common/agent/commands/ObjectReference.cpp
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