Placement of error marker when module not found
Paul Benedict
pbenedict at apache.org
Mon Jul 11 19:24:13 UTC 2016
Error from the command line:
src\com.domain2\module-info.java:2: error: module not found: com.domain1
requires com.domain1;
^
If you can't see this message in fixed-width font, please note the caret
sign placed at the dot in the module name. Since the dot(s) in the module
name aren't representative of anything (the module name is opaque even if
it is using a package-like convention), I think the caret should just be
backed up to the first character of the module name.
For a more explicit example, try out "requires com.com.com.domain1" and see
the caret is placed at the last dot.
Cheers,
Paul
More information about the jigsaw-dev
mailing list