[Nestmates] Spec updates to JVM TI, JDWP, JDI and java.lang.instrument for Class redefinition/retransformation

David Holmes david.holmes at oracle.com
Wed Feb 7 08:36:16 UTC 2018


webrev: http://cr.openjdk.java.net/~dholmes/8191118/webrev/

I tried to produce specdiffs but specdiff seems broken. The links below 
at least highlight the changed text but you can't navigate directly to it.

For java.lang.instrument the only change is in Instrumentation.java as 
per the webrev:

- Specify that some attributes can be explicitly excluded from 
redefinition and retransformation
- Specify the NestHost and NestMembers attributes are excluded

JVM TI spec: 
http://cr.openjdk.java.net/~dholmes/8010319/specs/JVM-TI/diff.html

- Specify that some attributes can be explicitly excluded from 
redefinition and retransformation
- Specify the NestHost and NestMembers attributes are excluded
- Add new error code

JDWP spec: http://cr.openjdk.java.net/~dholmes/8010319/specs/JDWP/diff.html

- Clarify what the "restricted redefinitions" are
- Add changing the NestHost/NestMembers attributes to the set of 
restricted redefinitions
- Add new error code

---

For JDI the only change is in com/sun/jdi/VirtualMachine.java as per the 
webrev:

- Add changing the NestHost/NestMembers attributes to the set of 
restricted redefinitions
- clarify what "unrestricted redefinition" means
- fix existing typo that refers to subclasses instead of superclasses


Thanks,
David
-----


More information about the valhalla-spec-experts mailing list