8153190: JVMTI GetAllModules should make it clear that it also returns unnamed module
Summary: Clarify the JVMTI spec
Reviewed-by: alanb
--- a/hotspot/src/share/vm/prims/jvmti.xml Wed Apr 27 11:25:16 2016 +0200
+++ b/hotspot/src/share/vm/prims/jvmti.xml Thu Apr 28 12:25:16 2016 -0700
@@ -6482,6 +6482,7 @@
<synopsis>Get All Modules</synopsis>
<description>
Return an array of all modules loaded in the virtual machine.
+ The array includes the unnamed module for each class loader.
The number of modules in the array is returned via
<code>module_count_ptr</code>, and the array itself via
<code>modules_ptr</code>.