|
Please, review CSR: https://bugs.openjdk.java.net/browse/JDK-8223740 For enhancement: https://bugs.openjdk.java.net/browse/JDK-8183273 Summary: Java SE 9 added two abstract module-aware methods to the interface java.lang.instrument.Instrumentation. The assumption at the time was that the Instrumentation implementation is tightly coupled to the VM implementation and it seemed unlikely there would be other implementations (this follows similar additions of abstract methods in Java SE 6). The NetBeans project reported that it implements Instrumentation. The thread on this discussion is here: http://mail.openjdk.java.net/pipermail/jigsaw-dev/2017-June/012934.html The enhancement above tracks an re-examination in some future major release. For example, it requests to consider changing methods to be default methods. This CSR is taking an alternate approach is to add a note into the Instrumentation class description to make it clear that the interface is not intended to be implemented outside of the java.instrument module. I had some doubt this needs a CSR, so, please, let me know if it is not the case. Thanks, Serguei |
- RFC: 8223740: Clarify Instrumentation interface... [email protected]
