Le jeu. 4 janv. 2024 à 13:05, Martin Desruisseaux < martin.desruisse...@geomatys.com> a écrit :
> Le 2024-01-04 à 12 h 49, Romain Manni-Bucau a écrit : > > > Just take the previous example you even explained yourself with an > > invalid JPMS name, this is still a valid case today. > > Module names are like any other symbol names (classes, methods, etc.). > If a module name is invalid, we want the same compilation error as > invalid class name or invalid method name. Why would we want the > compiler to silently ignore errors that are certain to cause runtime > exception? If you are aware of a valid case, please show it with a test > case (an application compiled with invalid module name, and still > executable as JPMS). > Cause it just works (and was forking for years). Geronimo specs jar have this issue for ex and this is not a blocker for lib builders to consume them, build with them and produce a JPMS friendly jar. > > Martin > >