Re: When will JDK 9 builds move to requiring the boot JDK be JDK 8?

2014-04-04 Thread Kelly O'Hair
Good to hear.

-kto

On Apr 4, 2014, at 10:26 AM, Fredrik Öhrström wrote:

> You are right Kelly, the old build system did use the idlj from the boot jdk.
> 
> The new build, does build a bootstrap idlj, as can be seen here:
> he 
> http://hg.openjdk.java.net/jdk9/jdk9/corba/file/14e7fbdd1dcb/make/GensrcCorba.gmk
> 
> And uses this bootstrap idlj to compile the idl files, so at least that odd 
> boot jdk dependency is removed. 
> 
> //Fredrik
> 
> 
> 
> 
> 2014-04-04 17:57 GMT+02:00 Kelly O'Hair :
> As I recall, corba builds do some code generation with idlj, which is in 
> corba I think, so a boot jdk version of idlj
> would need to be built and run with the boot jdk, then you could build 
> everything with the new jdk.
> Or so I recall..
> 
> -kto
> 
> On Apr 3, 2014, at 11:54 PM, Fredrik Öhrström wrote:
> 
> >>
> >> On Thu, Apr 3, 2014 at 8:53 AM, Joe Darcy  wrote:
> >>>
>  A broader question this issue raises is why are components like corba
>  built using the book JDK rather than the JDK they are a part of?
> >>>
> >>> As Alan said, for historical reasons only. If you wanted to actually
> > compile corba/jaxp/jaxws using the new jdk, it would be trivial to change
> > the build system to do so, since we already do so with nashorn.
> >
> > //Fredrik
> 
> 



Re: When will JDK 9 builds move to requiring the boot JDK be JDK 8?

2014-04-04 Thread Fredrik Öhrström
You are right Kelly, the old build system did use the idlj from the boot
jdk.

The new build, does build a bootstrap idlj, as can be seen here:
he
http://hg.openjdk.java.net/jdk9/jdk9/corba/file/14e7fbdd1dcb/make/GensrcCorba.gmk

And uses this bootstrap idlj to compile the idl files, so at least that odd
boot jdk dependency is removed.

//Fredrik




2014-04-04 17:57 GMT+02:00 Kelly O'Hair :

> As I recall, corba builds do some code generation with idlj, which is in
> corba I think, so a boot jdk version of idlj
> would need to be built and run with the boot jdk, then you could build
> everything with the new jdk.
> Or so I recall..
>
> -kto
>
> On Apr 3, 2014, at 11:54 PM, Fredrik Öhrström wrote:
>
> >>
> >> On Thu, Apr 3, 2014 at 8:53 AM, Joe Darcy  wrote:
> >>>
>  A broader question this issue raises is why are components like corba
>  built using the book JDK rather than the JDK they are a part of?
> >>>
> >>> As Alan said, for historical reasons only. If you wanted to actually
> > compile corba/jaxp/jaxws using the new jdk, it would be trivial to change
> > the build system to do so, since we already do so with nashorn.
> >
> > //Fredrik
>
>


Re: When will JDK 9 builds move to requiring the boot JDK be JDK 8?

2014-04-04 Thread Kelly O'Hair
As I recall, corba builds do some code generation with idlj, which is in corba 
I think, so a boot jdk version of idlj
would need to be built and run with the boot jdk, then you could build 
everything with the new jdk.
Or so I recall..

-kto

On Apr 3, 2014, at 11:54 PM, Fredrik Öhrström wrote:

>> 
>> On Thu, Apr 3, 2014 at 8:53 AM, Joe Darcy  wrote:
>>> 
 A broader question this issue raises is why are components like corba
 built using the book JDK rather than the JDK they are a part of?
>>> 
>>> As Alan said, for historical reasons only. If you wanted to actually
> compile corba/jaxp/jaxws using the new jdk, it would be trivial to change
> the build system to do so, since we already do so with nashorn.
> 
> //Fredrik



Re: When will JDK 9 builds move to requiring the boot JDK be JDK 8?

2014-04-03 Thread Fredrik Öhrström
>
> On Thu, Apr 3, 2014 at 8:53 AM, Joe Darcy  wrote:
>>
>>> A broader question this issue raises is why are components like corba
>>> built using the book JDK rather than the JDK they are a part of?
>>
>> As Alan said, for historical reasons only. If you wanted to actually
compile corba/jaxp/jaxws using the new jdk, it would be trivial to change
the build system to do so, since we already do so with nashorn.

//Fredrik


Re: When will JDK 9 builds move to requiring the boot JDK be JDK 8?

2014-04-03 Thread Joe Darcy

On 04/03/2014 09:33 AM, Martin Buchholz wrote:




On Thu, Apr 3, 2014 at 8:53 AM, Joe Darcy > wrote:


A broader question this issue raises is why are components like
corba built using the book JDK rather than the JDK they are a part of?


If we're cross-compiling, the JDK being built may never be executable


But the code in the jdk repository in JDK N is built such that it can 
use the language features and new libraries of JDK N. In contrast, the 
code in the corba (and IIRC jaxp and jaxws) repo is restricted to using 
features in the boot JDK, typically JDK (N-1).


-Joe


Re: When will JDK 9 builds move to requiring the boot JDK be JDK 8?

2014-04-03 Thread Alan Bateman

On 03/04/2014 16:53, Joe Darcy wrote:
A broader question this issue raises is why are components like corba 
built using the book JDK rather than the JDK they are a part of?
As I understand it, the new build compiles the repositories in this 
order so that it matches the old build. In previous mails about this 
here then it was suggested that this would be re-examined in JDK 9. Once 
we get JDK 9 building as modules then this issue should go away too as 
code would no longer be compiled a repository as time as it does now.


-Alan


Re: When will JDK 9 builds move to requiring the boot JDK be JDK 8?

2014-04-03 Thread Joe Darcy
A broader question this issue raises is why are components like corba 
built using the book JDK rather than the JDK they are a part of?


-Joe

On 04/03/2014 01:43 AM, Alan Bateman wrote:


We had problems in jdk9/dev in the last day or so where there were 
changes pushed to the corba repo that use APIs that are new in JDK 8. 
This caused problems when building jdk9/dev with a 7uX build as the 
boot JDK and made it obvious that there are a mix of boot JDKs in use 
(some people use 7uX, some use 8).


I'm wondering when is the time to move to requiring the boot JDK be a 
JDK 8 build? This came up in December too when a change to langtools 
had to be reserved in order to keep jdk9/dev building with a 7uX build 
as the boot JDK.


Are there any reasons not to switch now?

-Alan.




Re: When will JDK 9 builds move to requiring the boot JDK be JDK 8?

2014-04-03 Thread Mike Duigou
The general plan had been to wait until Java 8 was final before switching from 
JDK 7 to JDK 8. We planned switch internal Oracle build systems to JDK 8 after 
the April 15th CPU release. However, since there seems to already be a mix of 
JDK 7 and JDK 8 in use it is probably appropriate to switch now.

Mike

On Apr 3 2014, at 01:43 , Alan Bateman  wrote:

> 
> We had problems in jdk9/dev in the last day or so where there were changes 
> pushed to the corba repo that use APIs that are new in JDK 8. This caused 
> problems when building jdk9/dev with a 7uX build as the boot JDK and made it 
> obvious that there are a mix of boot JDKs in use (some people use 7uX, some 
> use 8).
> 
> I'm wondering when is the time to move to requiring the boot JDK be a JDK 8 
> build? This came up in December too when a change to langtools had to be 
> reserved in order to keep jdk9/dev building with a 7uX build as the boot JDK.
> 
> Are there any reasons not to switch now?
> 
> -Alan.



Re: When will JDK 9 builds move to requiring the boot JDK be JDK 8?

2014-04-03 Thread Erik Joelsson
As Chris pointed out, we have a patch that's already been reviewed, so 
making the change is trivial. I do think a bit of a heads up to jdk9-dev 
is a good idea though.


/Erik

On 2014-04-03 12:04, Alan Bateman wrote:

On 03/04/2014 09:53, Erik Joelsson wrote:
I don't see any reason not to make the switch. I filed this bug back 
in December:

https://bugs.openjdk.java.net/browse/JDK-8030794

Thanks, I can't think of any reason either.

So how do we make this happen? Would a mail to jdk9-dev be sufficient 
to alert folks about this change? Maybe the error from configure when 
there isn't a JDK 8 available is sufficient?


-Alan




Re: When will JDK 9 builds move to requiring the boot JDK be JDK 8?

2014-04-03 Thread Erik Joelsson


On 2014-04-03 12:24, Seán Coffey wrote:


On 03/04/2014 11:17, David Holmes wrote:

Don't we also need to modify jprt properties?

Which properties need changing David ? We should list them.

The strange thing here is that JPRT is already using JDK 8 (b132) as 
bootstrap. That's how the CORBA build failures passed by me.


Yes, I changed JPRT a while back since we "should" already be using JDK 
N-1 as boot. Changing configure to disallow JDK 7 is a different change. 
I think the only thing that really held us back was JDK 8 being properly 
released.


/Erik

regards,
Sean.



David

On 3/04/2014 8:12 PM, Chris Hegarty wrote:

FYI.

This is already reviewed ;-)
http://mail.openjdk.java.net/pipermail/build-dev/2013-December/011406.html 



-Chris.

On 3 Apr 2014, at 11:04, Alan Bateman  wrote:


On 03/04/2014 09:53, Erik Joelsson wrote:
I don't see any reason not to make the switch. I filed this bug 
back in December:

https://bugs.openjdk.java.net/browse/JDK-8030794

Thanks, I can't think of any reason either.

So how do we make this happen? Would a mail to jdk9-dev be 
sufficient to alert folks about this change? Maybe the error from 
configure when there isn't a JDK 8 available is sufficient?


-Alan








Re: When will JDK 9 builds move to requiring the boot JDK be JDK 8?

2014-04-03 Thread Seán Coffey


On 03/04/2014 11:17, David Holmes wrote:

Don't we also need to modify jprt properties?

Which properties need changing David ? We should list them.

The strange thing here is that JPRT is already using JDK 8 (b132) as 
bootstrap. That's how the CORBA build failures passed by me.


regards,
Sean.



David

On 3/04/2014 8:12 PM, Chris Hegarty wrote:

FYI.

This is already reviewed ;-)
http://mail.openjdk.java.net/pipermail/build-dev/2013-December/011406.html

-Chris.

On 3 Apr 2014, at 11:04, Alan Bateman  wrote:


On 03/04/2014 09:53, Erik Joelsson wrote:
I don't see any reason not to make the switch. I filed this bug 
back in December:

https://bugs.openjdk.java.net/browse/JDK-8030794

Thanks, I can't think of any reason either.

So how do we make this happen? Would a mail to jdk9-dev be 
sufficient to alert folks about this change? Maybe the error from 
configure when there isn't a JDK 8 available is sufficient?


-Alan






Re: When will JDK 9 builds move to requiring the boot JDK be JDK 8?

2014-04-03 Thread Chris Hegarty
On 3 Apr 2014, at 11:16, Alan Bateman  wrote:

> On 03/04/2014 11:12, Chris Hegarty wrote:
>> FYI.
>> 
>> This is already reviewed ;-)
>>   http://mail.openjdk.java.net/pipermail/build-dev/2013-December/011406.html
>> 
>> -Chris.
>> 
>> 
> I know but I also replied suggesting that he hold off pending a conclusion on 
> the boot JDK issue. If this is pushed then it's the third patch in last 24 
> hours to allow corba build with different versions of 7uX as the boot JDK. I 
> think would be be better to just get the switch over with as it has to happen 
> anyway.

Agreed. The link above is a RFR from Erik to not accept JDK 7 as a bootstrap. 
It was sent out back in Dec last year.

-Chris. 

> 
> -Alan.



Re: When will JDK 9 builds move to requiring the boot JDK be JDK 8?

2014-04-03 Thread David Holmes

Don't we also need to modify jprt properties?

David

On 3/04/2014 8:12 PM, Chris Hegarty wrote:

FYI.

This is already reviewed ;-)
   http://mail.openjdk.java.net/pipermail/build-dev/2013-December/011406.html

-Chris.

On 3 Apr 2014, at 11:04, Alan Bateman  wrote:


On 03/04/2014 09:53, Erik Joelsson wrote:

I don't see any reason not to make the switch. I filed this bug back in 
December:
https://bugs.openjdk.java.net/browse/JDK-8030794

Thanks, I can't think of any reason either.

So how do we make this happen? Would a mail to jdk9-dev be sufficient to alert 
folks about this change? Maybe the error from configure when there isn't a JDK 
8 available is sufficient?

-Alan




Re: When will JDK 9 builds move to requiring the boot JDK be JDK 8?

2014-04-03 Thread Alan Bateman

On 03/04/2014 11:12, Chris Hegarty wrote:

FYI.

This is already reviewed ;-)
   http://mail.openjdk.java.net/pipermail/build-dev/2013-December/011406.html

-Chris.


I know but I also replied suggesting that he hold off pending a 
conclusion on the boot JDK issue. If this is pushed then it's the third 
patch in last 24 hours to allow corba build with different versions of 
7uX as the boot JDK. I think would be be better to just get the switch 
over with as it has to happen anyway.


-Alan.


Re: When will JDK 9 builds move to requiring the boot JDK be JDK 8?

2014-04-03 Thread Chris Hegarty
FYI.

This is already reviewed ;-)
  http://mail.openjdk.java.net/pipermail/build-dev/2013-December/011406.html  

-Chris.

On 3 Apr 2014, at 11:04, Alan Bateman  wrote:

> On 03/04/2014 09:53, Erik Joelsson wrote:
>> I don't see any reason not to make the switch. I filed this bug back in 
>> December:
>> https://bugs.openjdk.java.net/browse/JDK-8030794
> Thanks, I can't think of any reason either.
> 
> So how do we make this happen? Would a mail to jdk9-dev be sufficient to 
> alert folks about this change? Maybe the error from configure when there 
> isn't a JDK 8 available is sufficient?
> 
> -Alan



Re: When will JDK 9 builds move to requiring the boot JDK be JDK 8?

2014-04-03 Thread Alan Bateman

On 03/04/2014 09:53, Erik Joelsson wrote:
I don't see any reason not to make the switch. I filed this bug back 
in December:

https://bugs.openjdk.java.net/browse/JDK-8030794

Thanks, I can't think of any reason either.

So how do we make this happen? Would a mail to jdk9-dev be sufficient to 
alert folks about this change? Maybe the error from configure when there 
isn't a JDK 8 available is sufficient?


-Alan


Re: When will JDK 9 builds move to requiring the boot JDK be JDK 8?

2014-04-03 Thread Erik Joelsson
I don't see any reason not to make the switch. I filed this bug back in 
December:

https://bugs.openjdk.java.net/browse/JDK-8030794

/Erik

On 2014-04-03 10:43, Alan Bateman wrote:


We had problems in jdk9/dev in the last day or so where there were 
changes pushed to the corba repo that use APIs that are new in JDK 8. 
This caused problems when building jdk9/dev with a 7uX build as the 
boot JDK and made it obvious that there are a mix of boot JDKs in use 
(some people use 7uX, some use 8).


I'm wondering when is the time to move to requiring the boot JDK be a 
JDK 8 build? This came up in December too when a change to langtools 
had to be reserved in order to keep jdk9/dev building with a 7uX build 
as the boot JDK.


Are there any reasons not to switch now?

-Alan.




When will JDK 9 builds move to requiring the boot JDK be JDK 8?

2014-04-03 Thread Alan Bateman


We had problems in jdk9/dev in the last day or so where there were 
changes pushed to the corba repo that use APIs that are new in JDK 8. 
This caused problems when building jdk9/dev with a 7uX build as the boot 
JDK and made it obvious that there are a mix of boot JDKs in use (some 
people use 7uX, some use 8).


I'm wondering when is the time to move to requiring the boot JDK be a 
JDK 8 build? This came up in December too when a change to langtools had 
to be reserved in order to keep jdk9/dev building with a 7uX build as 
the boot JDK.


Are there any reasons not to switch now?

-Alan.