--- old/make/data/jdwp/jdwp.spec 2020-04-13 21:03:44.000000000 -0700 +++ new/make/data/jdwp/jdwp.spec 2020-04-13 21:03:44.000000000 -0700 @@ -70,7 +70,8 @@ ) (Command AllClasses=3 "Returns reference types for all classes currently loaded by the " - "target VM." + "target VM. " + "See JVM TI GetLoadedClasses." (Out ) (Reply @@ -600,14 +601,9 @@ (CommandSet ReferenceType=2 (Command Signature=1 - "Returns the JNI signature of a reference type. " - "JNI signature formats are described in the " - "Java Native Interface Specification" - "
- "For primitive classes "
- "the returned signature is the signature of the corresponding primitive "
- "type; for example, \"I\" is returned as the signature of the class "
- "represented by java.lang.Integer.TYPE."
+ "Returns the type signature of a reference type. "
+ "Type signature formats are the same as specified in "
+ "JVM TI GetClassSignature."
(Out
(referenceType refType "The reference type ID.")
)
@@ -2266,12 +2262,27 @@
)
(CommandSet ClassLoaderReference=14
(Command VisibleClasses=1
- "Returns a list of all classes which this class loader has "
- "been requested to load. This class loader is considered to be "
- "an initiating class loader for each class in the returned "
- "list. The list contains each "
- "reference type defined by this loader and any types for which "
+ "Returns a list of all classes which this class loader can find "
+ "by name via ClassLoader::loadClass
, "
+ "Class::forName
and bytecode linkage. That is, "
+ "this class loader has been recorded as an initiating "
+ "loader of the returned classes. The list contains each
+ "reference type created by this loader and any types for which "
"loading was delegated by this class loader to another class loader. "
+ "The list does not include hidden classes or interfaces created by "
+ "the invocation of "
+ "Lookup::defineHiddenClass "
+ "because:"
+ "
" + "In addition, the list does not include array classes whose " + "element type is a hidden class or interface as they cannot be discovered " + "by any class loader." "
" "The visible class list has useful properties with respect to " "the type namespace. A particular type name will occur at most " @@ -2280,6 +2291,8 @@ "this class loader must be resolved to that single type. " "
" "No ordering of the returned list is guaranteed. " + "
" + "See JVM TI GetClassLoaderClasses. " (Out (classLoaderObject classLoaderObject "The class loader object ID. ") )