harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From regi...@apache.org
Subject svn commit: r889144 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/parse_arguments.cpp
Date Thu, 10 Dec 2009 08:52:45 GMT
Author: regisxu
Date: Thu Dec 10 08:52:39 2009
New Revision: 889144

URL: http://svn.apache.org/viewvc?rev=889144&view=rev
Log:
Revert r889047(Apply patch for HARMONY-6399: [drlvm] drlvm doesn't support "-javaagent" option)

Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/parse_arguments.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/parse_arguments.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/parse_arguments.cpp?rev=889144&r1=889143&r2=889144&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/parse_arguments.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/parse_arguments.cpp Thu Dec 10 08:52:39
2009
@@ -348,13 +348,6 @@
         else if (begins_with(option, "-agentpath:")) {
             p_env->TI->addAgent(option);
         }
-        else if (begins_with(option, "-javaagent:")) {
-            char* dest = (char*) STD_MALLOC(strlen("-agentlib:hyinstrument=") + strlen(option
+ 11) + 1);
-            strcpy(dest, "-agentlib:hyinstrument=");
-            strcat(dest, option + 11);
-            p_env->TI->addAgent(dest);
-            STD_FREE((void*) dest);
-        }
         else if (begins_with(option, "-Xrun")) {
             // Compatibility with JNDI
             p_env->TI->addAgent(option);



Mime
View raw message