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).
Martin