Round #2: RFR: 8049365 - Update JDI and JDWP for modules

serguei.spitsyn at oracle.com serguei.spitsyn at oracle.com
Wed Jan 20 22:35:25 UTC 2016


Please, review this initial fix for the Jigsaw Bill milestone task:
https://bugs.openjdk.java.net/browse/JDK-8049365


Jdk webrev:
http://cr.openjdk.java.net/~sspitsyn/webrevs/2016/jdk/8049365-Jigsaw-jdk.2/

Hotspot webrev:
http://cr.openjdk.java.net/~sspitsyn/webrevs/2016/hotspot/8049365-Jigsaw-hs.2/


Summary:
   This round includes the changes suggested by Alan in the round #0:
     - The version 1.9 is replaced version
     - The Module interface is replaced with the ModuleReference 
interface that extends the ObjectReference.
     - The argument name "target" in the CanRead is replaced with 
"source" to make it consistent with
        the class java.lang.reflect.Module.
     - The public field TRACE_MODULES has been removed.
     - Some other small changes.

    This round also addresses the suggestions from Alan in the review 
round #1:
     - new capability "can_get_modules_info" is defined on the JDI level 
only;
       changed the capability name: "canGetModulesInfo" => 
"canGetModuleInfo"
     - JVMTI doc cleanup: minor corrections, removed couple of 
references to the JDK 1.1, spurious <UL>'s
     - copyright fixes
     - test improvements

This fix includes JVMTI support for the JDI allModules() as a JVMTI 
function GetAllModules().
   There is an agreement with Lois this will most likely need some 
future adjustment.


   Also, please, refer to a related Jigsaw Bill milestone task:
https://bugs.openjdk.java.net/browse/JDK-8049364
Update JVM TI for modules


Thanks,
Serguei


More information about the jigsaw-dev mailing list