[Fwd: Re: javac CRASH]
Ulf Zibis
Ulf.Zibis at gmx.de
Tue Aug 11 16:22:36 PDT 2009
Jon,
thanks for your help, but the attachment is broken (see 3710927023.txt).
Maybe you better rename it to build.txt.
-Ulf
-------- Original-Nachricht --------
Betreff: Re: javac CRASH
Datum: Tue, 11 Aug 2009 15:35:44 -0700
Von: Jonathan Gibbons <Jonathan.Gibbons at Sun.COM>
An: Ulf Zibis <Ulf.Zibis at gmx.de>
CC: Rémi Forax <forax at univ-mlv.fr>, Maurizio Cimadamore
<Maurizio.Cimadamore at Sun.COM>, nb-projects-dev at openjdk.java.net
Referenzen: <4A77F8CB.2070200 at gmx.de> <4A77FAA8.5020101 at sun.com>
<4A77FC5F.8020407 at gmx.de> <4A780B67.3080809 at sun.com>
<4A781678.4050100 at gmx.de> <4A7834DB.7020708 at univ-mlv.fr>
<4A80B40A.8090704 at gmx.de> <4A80BA63.7010606 at univ-mlv.fr>
<4A80C049.2020202 at sun.com> <4A813498.3010004 at gmx.de>
<4A813E03.4000702 at univ-mlv.fr>
<33338629-C8F0-4649-A3AD-A6BCA88631B7 at Sun.COM> <4A818EE8.6030307 at gmx.de>
<4A81B856.7000702 at sun.com> <4A81BDAD.8050007 at sun.com>
<4A81ED3D.4010204 at gmx.de>
Ulf,
I have pushed changes into http://hg.openjdk.java.net/jdk7/tl/langtools
(for JDK7)
and into http://hg.openjdk.java.net/jdk6/jdk6/langtools (for JDK6.)
With these fixes, I can build langtools on Windows using either the
attached build.bat
(for Windows shell) for build.sh (for Cygwin.) In both cases I can
build with just JDK 6.
-- Jon
Ulf Zibis wrote:
> Sorry for cross-posting.
>
> Am 11.08.2009 20:51, Jonathan Gibbons schrieb:
>> Removed core-libs-dev.
>>
>> The issue is that in a couple of places a default value for
>> javac.bootclasspath is set that includes -J-Xbootclasspath.
>> When the value is finally used, -J-Xbootclasspath is again
>> included. The fix is to remove the use of -J-Xbootclasspath/p:
>> from the default settings for javac.bootclasspath.
>
> Will you do that, and commit to langtools forest soon?
> Otherwise, what should I exactly change in which file ?
>
> -Ulf
>
>
>>
>> -- Jon
>>
>> Jonathan Gibbons wrote:
>>> Ulf, Rémi,
>>>
>>> I have found an issue in the langtools/make/build.xml file that is
>>> likely the cause of the problems you are having.
>>> There are references to @{javac.java.home}/bin/javac which look
>>> suspect. I suspect they should be javac.exe
>>> on Windows.
>>>
>>> I will post a fix once I have one and have verified it for plain
>>> invocation from the Windows command shell and
>>> from Cygwin.
>>>
>>> -- Jon
>>>
>>>
>>> Ulf Zibis wrote:
>>>> Jon,
>>>>
>>>> that would be great.
>>>>
>>>> I've found out a solution, but I'm not sure, if this is as
>>>> designed. In path_to_jdk7_sources\langtools\make\build.properties I
>>>> set:
>>>> boot.java.home = C:/Programme/Java/jdk1.6.0_14
>>>> target.java.home = C:/Programme/Java/jdk1.7.0
>>>> javac.source = 6
>>>> javac.target = 6
>>>>
>>>> I'm wondering, that there is no ...\make\build.properties file in
>>>> tl/jdk tree.
>>>>
>>>> Maybe you like to have a look on ...\make\netbeans\charset\* in my
>>>> patch for https://bugs.openjdk.java.net/show_bug.cgi?id=100098 ?
>>>>
>>>> -Ulf
>>>>
>>>>
>>>>
>>>> Am 11.08.2009 16:49, Jonathan Gibbons schrieb:
>>>>> Rémi,
>>>>>
>>>>> Thanks for the heads up. I'll check this out. It is still the
>>>>> case that you should only need 1.6 to build langtools.
>>>>>
>>>>> -- Jon
>>>>>
>>>>>
>>>>>
>>>>> On Aug 11, 2009, at 2:46 AM, Rémi Forax wrote:
>>>>>
>>>>>> Le 11/08/2009 11:06, Ulf Zibis a écrit :
>>>>>>> Jonathan,
>>>>>>>
>>>>>>> thanks for additional help.
>>>>>>>
>>>>>>> Now I tried:
>>>>>>> C:\Projects\OpenJDK7\langtools\make>"C:\Programme\Java\NetBeans
>>>>>>> 6.7.1\java2\ant\
>>>>>>> bin\ant" -Dboot.java/home=C:/Programme/Java/jdk1.7.0
>>>>>>
>>>>>> I've noticed that.
>>>>>> You have to run ant with jdk7.
>>>>>>
>>>>>> JAVA_HOME=C:/Programme/Java/jdk1.7.0
>>>>>> ant -Dboot.java/home=C:/Programme/Java/jdk1.7.0
>>>>>>
>>>>>> Jon, it seems the ant build script need be updated because
>>>>>> we are not able to compile with jdk6 anymore.
>>>>>> The bootstrap javac/javap/etc should be built with -source 1.6
>>>>>> -target 1.6.
>>>>>>
>>>>>> Rémi
>>>>>
>>>>>
>>>>
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nb-projects-dev/attachments/20090812/6b21c717/attachment.html
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 3710927023.txt
Url: http://mail.openjdk.java.net/pipermail/nb-projects-dev/attachments/20090812/6b21c717/attachment.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.sh
Type: application/x-sh
Size: 156 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/nb-projects-dev/attachments/20090812/6b21c717/attachment.sh
More information about the nb-projects-dev
mailing list