Placement of error marker when module not found

Jonathan Gibbons jonathan.gibbons at oracle.com
Mon Jul 11 19:51:30 UTC 2016


Noted.  Thanks for the report.

-- Jon

On 07/11/2016 12:24 PM, Paul Benedict wrote:
> 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