Bootstrapping (Was: Non-ASCII characters and OpenJDK)

Jonathan Gibbons Jonathan.Gibbons at Sun.COM
Thu Aug 13 01:56:00 UTC 2009


On Aug 12, 2009, at 5:03 PM, Jonathan Gibbons wrote:

>
> On Aug 12, 2009, at 3:35 PM, Mark Wielaard wrote:
>
>> Hi Jon,
>>
[snip]
>>
>> So I think this part in langtools/make/build.xml needs an explicit
>> source="${boot.javac.source}" and target="${boot.javac.target}":
>>
>>       <javac fork="true"
>>              executable="${boot.java.home}/bin/javac"
>>              srcdir="${make.tools.dir}/CompileProperties"
>>              destdir="${build.toolclasses.dir}/"
>>              classpath="${ant.home}/lib/ant.jar"/>
>>
>> The same thing happens later in the build with some other classes  
>> that
>> are compiled and then run using the bootstrap tools.
>
>
> While it would not be wrong to specify boot.javac.source and  
> boot.java.target
> it should not be necessary if it is compiled and run with equivalent  
> versions of
> javac and java from the same ${boot.java.home}.
>

I take that back. I agree that source and target values should be  
specified here,
since the class is compiled with boot.java but executed by Ant.   I  
have some
other minor fixes for build.xml underway, and will include this fix as  
well.

> [snip]

-- Jon



More information about the discuss mailing list