Build issue : missing classanalyzer?
Kelly O'Hair
kelly.ohair at oracle.com
Fri Sep 2 12:09:23 PDT 2011
Make sure the clock on the machine is correct.
Clock skew can cause lots of strange build issues.
-kto
On Sep 2, 2011, at 2:47 AM, Jing LV wrote:
> Hi Alan, Mandy,
>
> Struggled but still failed. Yes I update all source (using "get_source.sh"), and build all langtools/hotpot/jdk all together (make under the root directory of jigsaw, which contains sub-dir corba, hotspot, jaxp, jaxws, jdk, langtools etc). I find an existing classananlyzer.jar from a win32 build and copy it to the dir "btjars" and it seems it will replace during the build.
> It's a bit wired, not sure it is due to windows2008 platform.
>
> 于 2011-8-31 22:25, Mandy Chung 写道:
>>
>> On 8/31/11 4:04 AM, Alan Bateman wrote:
>>> Jing LV wrote:
>>>> Hi Alan,
>>>>
>>>> Thank you for reply. I've checked with the log (it's of ~300K in size so unable to upload to the list) but do not have something related to "HOST_JAVA_CMD" - yes anyway the build has pass nearly all modules. Only blocked by the classanalyzer.
>>>>
>>>> I take a little more search in the log, it seems the problem is due to the class "CONSTANT_ModuleId_info":
>>>> src\com\sun\classanalyzer\
>>>> ConstantPoolParser.java:270: error: cannot find symbol
>>>> public String visitModuleId(CONSTANT_ModuleId_info info, Void p) {
>>>> ^
>>>> symbol: class CONSTANT_ModuleId_info
>>>> location: class ConstantPoolParser.StringValueVisitor
>>>>
>>>> Search in the full openjdk directory for "CONSTANT_ModuleId_info" but find nothing - am I miss somthing? (I see in google that some archive mail discussed about this variable, anyway have some trouble to open the link due to the network problem).
>>> Is your langtools repository up to date?
>>
>> In case you are just building the jigsaw/jdk repository, for building jigsaw, you need to build jigsaw/langtools, jigsaw/hotspot, and jigsaw/jdk repository together as there are jigsaw changes in the VM and javac. The simplest way is to build the entire forest from the top repo and do "make modules".
>>
>> Mandy
>
>
> --
> Best Regards,
> Jimmy, Jing LV
>
>
More information about the jigsaw-dev
mailing list