Incompatible change to java.lang.instrument.Instrumentation
Sven Reimers
sven.reimers at gmail.com
Fri Jun 16 05:54:15 UTC 2017
Hi all,
as part of the process of the code donation from Oracle to Apache for
NetBeans I tried a compilation of the source code using idk 9-ea+173. The
compilation fails due to an added method boolean isModifiableModule(Module)
in java.lang.instrument.Instrumentation.
Should the newly added method on the interface Instrumentation have a
default implementation to make this change source code compatible from 8 to
9, e.g.
default boolean isModifiableModule(Module module) {
return false;
}
Is it already to late for changing this before JDK 9 release?
Thanks for considering
Sven
--
Sven Reimers
* Senior Expert Software Architect
* Java Champion
* NetBeans Dream Team Member: http://dreamteam.netbeans.org
* JUG Leader JUG Bodensee: http://www.jug-bodensee.de
* Duke's Choice Award Winner 2009
* XING: https://www.xing.com/profile/Sven_Reimers8
* LinkedIn: http://www.linkedin.com/in/svenreimers
More information about the jigsaw-dev
mailing list