Thank you, Mandy
On 10/28/16 1:31 PM, Mandy Chung wrote:
On Oct 26, 2016, at 5:45 PM, Vladimir Kozlov <vladimir.koz...@oracle.com> wrote:
http://cr.openjdk.java.net/~kvn/aot/hs.make.webrev/
make/gensrc/Gensrc-jdk.vm.compiler.gmk
This generates module-info.java.extra at build time to augment
module-info.java with `uses` and `provides`. module-info.java.extra is
expected to be checked in the source.
Do you expect the list of `uses` and `provides` are often changed?
Yes, Graal code changes frequently and we need to run annotation processor to
generate these dependencies for each jdk.vm.compiler (Graal) module build.
The alternative is to declare `uses` and `provides` in module-info.java in the
source repo so that a reader can see the module descriptor content without
needing to do a build. A test to detect if the module-info.java is out-of-sync
with the annotated options. In addition a make target to generate the list of
`use` and `provides` can be used to generate module-info.java to be included in
any change in the annotated options list.
What is "a reader"? And how to check "out-of-sync" without running 'processor'?
Sorry, I am not familiar with all this modules build process.
Thanks,
Vladimir
Mandy