----- Mail original ----- > De: "Mike Hearn" <m...@plan99.net> > À: "Michael Rasmussen" <michael.rasmus...@roguewave.com> > Cc: "jigsaw-dev" <jigsaw-dev@openjdk.java.net> > Envoyé: Mercredi 25 Septembre 2019 11:30:00 > Objet: Re: Could we get module-private visibility?
> Yes, I know. I'm talking about module-private inside exported packages. > Otherwise it can be quite difficult to allow exported and non-exported > packages to work closely together without weakening visibility, and at any > rate, whilst the compatibility considerations are obvious, having a > visibility level of "public" that's actually private to a scope is not a > design anyone would pick if they had a blank slate I imagine! at the same time, a public method is not really public if the class is not public too, so it's like russian dolls all the way down. Rémi