obscure message from resolver
Jonathan Gibbons
Jonathan.Gibbons at Sun.COM
Thu Nov 12 08:04:42 PST 2009
Jonathan Gibbons wrote:
> Mark Reinhold wrote:
>>> Date: Wed, 11 Nov 2009 20:45:12 -0800
>>> From: jonathan.gibbons at sun.com
>>>
>>
>>
>>> How do I read this message:
>>>
>>> org.openjdk.jigsaw.ConfigurationException: Main@=1.0: Cannot resolve
>>> at org.openjdk.jigsaw.Resolver.fail(Resolver.java:81)
>>>
>>
>> With difficulty, I'm afraid ...
>>
>>
>>> Is it
>>> a) somewhere in Main@=1.0 (where did the '=' come from) there is
>>> something
>>> unspecified it cannot resolve
>>> b) it cannot resolve a reference (where?) to Main@=1.0
>>>
>>
>> During the process of resolving your Main module it failed. Somewhere.
>>
>>
>>> I have a module Main at 1.0 (no '=') that just has a "requires M1;" (no
>>> version).
>>> javac has auto-inserted a "requires synthetic jdk@=7-ea;". I'm
>>> compiling Main.
>>> M1 is installed in the module library.
>>>
>>
>> export JIGSAW_TRACE=5 and try again. If that output doesn't help then
>> send it along and I'll see what I can make of it.
>>
>> (Yes, this failure mode is sorely in need of better diagnostics.)
>>
>> - Mark
>>
> Thanks; I'll back to this tomorrow morning, and see what I can figure
> out.
>
> -- Jon
I believe I just compiled my first class against a module in a module
library.
-- Jon
More information about the jigsaw-dev
mailing list