----- Mail original ----- > De: "Jochen Theodorou" <blackd...@gmx.org> > À: dev@groovy.apache.org > Envoyé: Dimanche 18 Septembre 2016 21:14:51 > Objet: Re: TeamCity back on track
[...] > > so setAccessible is forbidden, but a subclass from a different module > can access the method... strange new rules. Anyway... was there a thread > on jigsaw-dev about this? I would like to reread the proposal http://mail.openjdk.java.net/pipermail/jpms-spec-experts/2016-September/000390.html > >> For your specific bug, you can use ClassLoader.getDefinedPackages() or >> classloader.getUnamedModule().getPackages() instead. > > of course with the disadvantage that these are JDK9 only methods. yes > > bye Jochen Rémi