Automatic module names

Stephen Colebourne scolebourne at joda.org
Thu Mar 10 08:27:14 UTC 2016


On 10 March 2016 at 07:58, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> Keep in mind that a compiled module-info can be added to a JAR file where
> the code is otherwise compiled for an older release. If you are willing to
> tolerate a newer JDK in your build environment then you can compile that
> code with `javac -release N`(see JEP 247 [1]). This means one JDK in your
> build environment with the build creating a JAR file that you can deploy on
> the class path with JDK N or newer, or as an explicit module with JDK 9 or
> newer. It is of course a more complicated build but something that a
> "forward looking" developer could do.

Joda-Time compiles for JDK 1.5, other Joda projects for 1..6. Last
time I looked, the tool didn't go back far enough to be useful.

Stephen


More information about the jigsaw-dev mailing list