Re: module/bootclass troubles with jdk9

2015-02-03 Thread Jonathan Gibbons
On 02/03/2015 03:40 PM, Martin Buchholz wrote: On Tue, Feb 3, 2015 at 1:17 PM, Jonathan Gibbons mailto:jonathan.gibb...@oracle.com>> wrote: The suggestion to be able to point at a JRE is a new and interesting one. Thanks. Seems natural to me. Analogous to the -testjdk and -compi

Re: module/bootclass troubles with jdk9

2015-02-03 Thread Martin Buchholz
On Tue, Feb 3, 2015 at 1:17 PM, Jonathan Gibbons < jonathan.gibb...@oracle.com> wrote: > > The suggestion to be able to point at a JRE is a new and interesting one. > Thanks. > Seems natural to me. Analogous to the -testjdk and -compilejdk flags of jtreg. In the transition-to-modules world it s

Re: module/bootclass troubles with jdk9

2015-02-03 Thread Martin Buchholz
Thanks again. jsr166 CVS is happy with jdk9 for the time being, by migrating from compiling with -bootclasspath to -Xbootclasspath/p: Sophisticated users who care about constraining their target runtimes will probably engineer their own "bootclasspath", including eventually doing whatever it take

Re: module/bootclass troubles with jdk9

2015-02-03 Thread Jonathan Gibbons
We started 8058150 by looking at @since tags, partly with a view to refreshing the tags and making sure they were still up to date, and partly with a view to supporting -platform. But, @since paints an incomplete picture. Simplistically, one needs to construct a file containing the necessary

Re: module/bootclass troubles with jdk9

2015-02-03 Thread Alex Buckley
On 2/3/2015 12:18 PM, Martin Buchholz wrote: I read JEP 8058150 with interest. I agree with the goals. It's nice to be able to compile for a previous version of the platform with a single flag and without having an actual copy of the previous jdk available

Re: module/bootclass troubles with jdk9

2015-02-03 Thread Martin Buchholz
Thanks all for the explanations. (I don't know where I got "jdk9-b34" from. Apparently I was using jdk9-b48) I read JEP 8058150 with interest. I agree with the goals. It's nice to be able to compile for a previous version of the platform with a single fla

Re: module/bootclass troubles with jdk9

2015-02-03 Thread Jonathan Gibbons
On 02/03/2015 12:17 AM, Alan Bateman wrote: For javac then there are other ideas to support compiling for previous releases, Jon might want to say more on this. -Alan javac is currently in "interim land". For now, javac still supports the bootclasspath family of options, meaning that if

Re: module/bootclass troubles with jdk9

2015-02-03 Thread Alan Bateman
On 03/02/2015 04:09, Martin Buchholz wrote: I'm trying to use jdk9-b34 and see that rt.jar and friends are gone. Are we in jigsaw-land yet? javac doesn't seem to know about any -modulepath flag yet. (javac -help, javac -X is module-unaware) How do I specify a bootclasspath for jdk9-b34? You can't