jdk/src/jdk.jdwp.agent/share/native/libjdwp/util.c
changeset 36854 84179cb88469
parent 36511 9d0388c6b336
child 45380 ba9e1e3dedf1
--- a/jdk/src/jdk.jdwp.agent/share/native/libjdwp/util.c	Wed Jul 05 21:31:37 2017 +0200
+++ b/jdk/src/jdk.jdwp.agent/share/native/libjdwp/util.c	Sun Apr 03 16:28:41 2016 +0100
@@ -257,9 +257,9 @@
         gdata->property_user_dir
                         = getPropertyUTF8(env, "user.dir");
 
-        /* Get agent properties: invoke sun.misc.VMSupport.getAgentProperties */
+        /* Get agent properties: invoke VMSupport.getAgentProperties */
         localVMSupportClass = JNI_FUNC_PTR(env,FindClass)
-                                          (env, "sun/misc/VMSupport");
+                                          (env, "jdk/internal/vm/VMSupport");
         if (localVMSupportClass == NULL) {
             gdata->agent_properties = NULL;
             if (JNI_FUNC_PTR(env,ExceptionOccurred)(env)) {
@@ -276,7 +276,7 @@
             if (JNI_FUNC_PTR(env,ExceptionOccurred)(env)) {
                 JNI_FUNC_PTR(env,ExceptionClear)(env);
                 EXIT_ERROR(AGENT_ERROR_INTERNAL,
-                    "Exception occurred calling sun.misc.VMSupport.getAgentProperties");
+                    "Exception occurred calling VMSupport.getAgentProperties");
             }
         }