Ship jdk7 ct.sym with jdk8?

Joe Darcy joe.darcy at oracle.com
Thu Mar 14 09:46:48 PDT 2013


On 3/14/2013 4:08 AM, Peter Levart wrote:
> On 03/13/2013 09:44 PM, Joel Borggrén-Franck wrote:
>> On Mar 13, 2013, at 7:24 PM, Joe Darcy <joe.darcy at oracle.com> wrote:
>>
>>> On 3/12/2013 1:47 AM, Joel Borggrén-Franck wrote:
>>>> Why? It is just a file. If we want to make javac a more robust 
>>>> cross compiler (and I think we should) we should fix the logistics 
>>>> until we can do what we want.
>>> As a rule, the JDK Hg repos do *not* include binary files, just 
>>> source files. Therefore, there could be logistical issues in simply 
>>> storing the old ct.sym files in the repo. We'd ultimately want to 
>>> use some kind of implicit or explicit diff-based compression of the 
>>> cross-version information.
>>>
>> Or just inject the file at product build time, I take it for granted 
>> we can keep a reference implementations of our N-1 product in a 
>> stable enough location for this not to be an issue.
>>
>> Our infrastructure is what we make it to be. If it doesn't suit our 
>> purposes we should change it until it does. Also rules are there to 
>> suit or needs, if they are outdated we should change them.
>>
>> That being said, there are multiple ways to solve this particular 
>> problem, lets focus on what we should do instead of what our 
>> infrastructure may or may not allow us to do.
>>
>> cheers
>> /Joel
>
> Isn't the build environment already such that it has to have access to 
> "bootstrap" JDK which usually *is* one major version behind the 
> version of JDK/JRE it is building? Couldn't ct.sym file be "provided" 
> by the bootstrap JDK?

You can also bootstrap a build of JDK N with another build of JDK N :-) 
In fact this is a common initial test of a JDK build to make sure it 
isn't DOA.

-Joe



More information about the compiler-dev mailing list