Please, review a fix for:
https://bugs.openjdk.java.net/browse/JDK-8196450
CSR draft (one CSR reviewer is needed before finalizing it):
https://bugs.openjdk.java.net/browse/JDK-8246540
Webrev:
http://cr.openjdk.java.net/~sspitsyn/webrevs/2020/jdwp-depr.1/src/
Updated JDWP VirtualMachine::capabilitiesNew spec:
http://cr.openjdk.java.net/~sspitsyn/webrevs/2020/jdwp-depr.1/docs/specs/jdwp/jdwp-protocol.html#JDWP_VirtualMachine_CapabilitiesNew
Updated JDI com.sun.jdi.VirtualMachine spec:
http://cr.openjdk.java.net/~sspitsyn/webrevs/2020/jdwp-depr.1/docs/api/jdk.jdi/com/sun/jdi/VirtualMachine.html#canAddMethod()
http://cr.openjdk.java.net/~sspitsyn/webrevs/2020/jdwp-depr.1/docs/api/jdk.jdi/com/sun/jdi/VirtualMachine.html#canUnrestrictedlyRedefineClasses()
Summary:
The fix adds annotations and deprecation comments to the
capabilities
canUnrestrictedlyRedefineClasses and canAddMethod.
It impacts the JDWP capabilitiesNew command and the JDI
VirtualMachine interface.
Testing:
Built docs and checked the doc has been generated as expected.
Will run the JDI/JDWP tests locally
Thanks,
Serguei
- RFR (XS): 8196450: Deprecate JDWP/JDI canUnrest... serguei.spit...@oracle.com
- Re: RFR (XS): 8196450: Deprecate JDWP/JDI ... serguei.spit...@oracle.com
- Re: RFR (XS): 8196450: Deprecate JDWP/... David Holmes
- Re: RFR (XS): 8196450: Deprecate J... serguei.spit...@oracle.com
- Re: RFR (XS): 8196450: Deprecate J... Chris Plummer
- Re: RFR (XS): 8196450: Depreca... serguei.spit...@oracle.com