Placement of error marker when module not found
Paul Benedict
pbenedict at apache.org
Mon Jul 11 20:14:36 UTC 2016
Thanks Jon. I bet the marker placement code is shared code because the same
problem is exhibited with other keywords like "exports". Just wanted to
point that out in case a unit test is written. You'd want to see it
corrected despite the keyword.
Cheers,
Paul
On Mon, Jul 11, 2016 at 2:51 PM, Jonathan Gibbons <
jonathan.gibbons at oracle.com> wrote:
> 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