-Xlog and the module system

Alan Bateman Alan.Bateman at oracle.com
Thu Feb 2 08:07:36 UTC 2017


On 01/02/2017 21:49, Nicolai Parlog wrote:

>   Hi Alan,
>
> `-Xdiag:resolver` is awesome! :) I think these messages are great
> candidates for info-level messages with the "modules" tag via unified
> logging.
I agree it should be transparent to developers using the JDK as to 
whether the implementation is in libjvm or else where, something that 
will likely more of an issue going forward when more of the run time is 
written in the Java Language.

>
> Something else I noticed, neither Xlog nor Xdiag help with problematic
> configurations - both only start logging after everything checked out,
> so with missing modules (for example), they do not provide additional
> information.
The trace messages emitted by -Xdiag:resolver are printed as the 
resolver runs. So aside from the initial module then they would see some 
output when transitive dependences can't be found.

-Alan


More information about the jigsaw-dev mailing list