Le 2024-01-04 à 09 h 21, Romain Manni-Bucau a écrit :

Please just stip thinking jpms first, think classpath first with jpms compat, changes the whole perspective. If i want classpath compat more than jpms why would i do everything with module and miss my 80% case?

Because doing everything as JPMS + workarounds (e.g. copying service declarations into META-INF) works in both cases (proof: the Apache SIS project), while the converse is not true: you cannot compile a JPMS project with class-path, except by tricking Java (inject module-info *after* compilation, at the cost of sacrificing compile-time checks in the whole project).

    Martin

Reply via email to