< prev index next >

src/share/vm/prims/jvmtiEnv.cpp

Print this page

        

@@ -3473,10 +3473,13 @@
 jvmtiError
 JvmtiEnv::GetSystemProperty(const char* property, char** value_ptr) {
   jvmtiError err = JVMTI_ERROR_NONE;
   const char *value;
 
+  if (Arguments::is_internal_module_property(property)) {
+    return JVMTI_ERROR_NOT_AVAILABLE;
+  }
   value = Arguments::PropertyList_get_value(Arguments::system_properties(), property);
   if (value == NULL) {
     err =  JVMTI_ERROR_NOT_AVAILABLE;
   } else {
     err = allocate((strlen(value)+1) * sizeof(char), (unsigned char **)value_ptr);
< prev index next >