From abdoulk.keita at gmail.com Tue Jan 22 16:14:47 2019 From: abdoulk.keita at gmail.com (keita abdoul-kader) Date: Tue, 22 Jan 2019 08:14:47 -0800 Subject: Minimal JDK version requirements Message-ID: Hello, Is there any plan to move the JDK requirement from 8 to something higher since 8 is soon to be deprecated ? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonathan.gibbons at oracle.com Sat Jan 26 18:18:08 2019 From: jonathan.gibbons at oracle.com (Jonathan Gibbons) Date: Sat, 26 Jan 2019 10:18:08 -0800 Subject: Minimal JDK version requirements In-Reply-To: References: Message-ID: On 1/22/19 8:14 AM, keita abdoul-kader wrote: > Hello, > Is there any plan to move the JDK requirement from 8 to something > higher since 8 is soon to be deprecated ? > Thanks There's two aspects to this. 1. It should be *possible* to run jtreg on recent versions of JDK. 2. It remains the case that it is desirable to be able to run jtreg on old versions, to enable running tests for the oldest supported version of the platform. -- Jon From jonathan.gibbons at oracle.com Sat Jan 26 20:47:07 2019 From: jonathan.gibbons at oracle.com (Jonathan Gibbons) Date: Sat, 26 Jan 2019 12:47:07 -0800 Subject: Minimal JDK version requirements In-Reply-To: References: Message-ID: <676033fc-5568-e77d-931d-684290d9096e@oracle.com> Keita, Yes, that is currently to be expected, because by default, the build compiles certain files for use on very old versions of the platform, which are only supported when using JDK 8. It would be a reasonable enhancement to update the build so that you can build with newer releases of JDK, if you don't mind not being able to run on very old releases. You can do this now if you need to by overriding/editing the javac command lines defined in make/Defs.gmk ... look for the commands that contain uses of the -source and -target options. But, there no need to worry just yet about JDK 8 going away. The Support Roadmap [1] says this: End of Public Updates of Java SE 8 Java SE 8 is going through theEnd of Public Updates process for legacy releases. Oracle will continue to provide free public updates and auto updates of Java SE 8, until at least the end of December 2020 for Personal Users, and January 2019 for Commercial Users. -- Jon [1] https://www.oracle.com/technetwork/java/java-se-support-roadmap.html On 1/26/19 11:04 AM, keita abdoul-kader wrote: > Hello Jon, thanks for answering. > I agree with you on both point. But i think my original question was > clear enough. > I was talking the JDK requirements for building jtreg from source. > Last time i tried building the tip of the jtreg source code with > oracle jdk10 , It failed at compile time and i had to revert to using > oracle jdk 8 > Is that expected ? > > On Sat, Jan 26, 2019 at 10:18 AM Jonathan Gibbons > > wrote: > > > On 1/22/19 8:14 AM, keita abdoul-kader wrote: > > Hello, > > Is there any plan to move the JDK requirement from 8 to something > > higher since 8 is soon to be deprecated ? > > Thanks > > > There's two aspects to this. > > 1. It should be *possible* to run jtreg on recent versions of JDK. > > 2. It remains the case that it is desirable to be able to run > jtreg on > old versions, to enable running tests for the oldest supported > version > of the platform. > > -- Jon > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonathan.gibbons at oracle.com Tue Jan 29 23:20:56 2019 From: jonathan.gibbons at oracle.com (Jonathan Gibbons) Date: Tue, 29 Jan 2019 15:20:56 -0800 Subject: Minimal JDK version requirements In-Reply-To: <676033fc-5568-e77d-931d-684290d9096e@oracle.com> References: <676033fc-5568-e77d-931d-684290d9096e@oracle.com> Message-ID: <0683bf32-ea45-88b7-885c-502e58a0897e@oracle.com> Now fixed in jtreg.tip. -- Jon On 01/26/2019 12:47 PM, Jonathan Gibbons wrote: > > Keita, > > Yes, that is currently to be expected, because by default, the build > compiles certain files for use on very old versions of the platform, > which are only supported when using JDK 8. > > It would be a reasonable enhancement to update the build so that you > can build with newer releases of JDK, if you don't mind not being able > to run on very old releases. You can do this now if you need to by > overriding/editing the javac command lines defined in make/Defs.gmk > ... look for the commands that contain uses of the -source and -target > options. > > But, there no need to worry just yet about JDK 8 going away. The > Support Roadmap [1] says this: > > > End of Public Updates of Java SE 8 > > Java SE 8 is going through theEnd of Public Updates process > for > legacy releases. Oracle will continue to provide free public > updates and auto updates of Java SE 8, until at least the end of > December 2020 for Personal Users, and January 2019 for Commercial > Users. > > -- Jon > > [1] https://www.oracle.com/technetwork/java/java-se-support-roadmap.html > > > On 1/26/19 11:04 AM, keita abdoul-kader wrote: >> Hello Jon, thanks for answering. >> I agree with you on both point. But i think my original question was >> clear enough. >> I was talking the JDK requirements for building jtreg from source. >> Last time i tried building the tip of the jtreg? source code with >> oracle jdk10 , It failed at compile time and i had to revert to using >> oracle jdk 8 >> Is that expected ? >> >> On Sat, Jan 26, 2019 at 10:18 AM Jonathan Gibbons >> > wrote: >> >> >> On 1/22/19 8:14 AM, keita abdoul-kader wrote: >> > Hello, >> > Is there any plan to move the JDK requirement from 8 to something >> > higher since 8 is soon to be deprecated ? >> > Thanks >> >> >> There's two aspects to this. >> >> 1. It should be *possible* to run jtreg on recent versions of JDK. >> >> 2. It remains the case that it is desirable to be able to run >> jtreg on >> old versions, to enable running tests for the oldest supported >> version >> of the platform. >> >> -- Jon >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: