a compilation issue caused by the order of two 'requires' directives
Dmitry Bessonov
dmitry.bessonov at oracle.com
Fri Jan 13 09:17:35 PST 2012
Hello,
While playing with the recent JigSaw build
I came across a strange compilation issue which exposes
the inability to resolve module dependences in case
when two 'requires' clauses are listed in particular order.
The structure is the following - 3 modules are compiled
and installed one after the other.
module bar @ 1.0 { }
module foo @ 1.0 {
requires optional bar @>1.0;
}
module test @ 1.0 {
requires bar;
requires foo;
}
The compilation fails for the last module ('test').
To compile module successfully it is just needed
to interchange two 'requires' clauses in module 'test'.
Best regards,
Dmitry
More information about the jigsaw-dev
mailing list