Support Module System in Java 9+
rahulmutt opened this issue · 1 comments
rahulmutt commented
Java 9+ introduced the module system by specifying module-info.java
or module-info.class
.
Implementing this requires:
- Adding support for
Module
andPackage
constants incodec-jvm
- Adding support for
Module
attribute incodec-jvm
- Generating
module-info.class
inside of the compiler and packaging it in the finaljar
file. - Generating
jmod
files instead ofjar
files if the target is >= 9 for every Eta module.
rahulmutt commented
The trickiest problem to resolve here is that the module system does not support cyclic dependencies while Eta supports source imports so we need to find a way to encode that somehow.