Re: Necessity of multiple JDKs for build

2020-02-04 Thread Matt Sicker
Yikes that's a good point. Any idea if animal-sniffer prevents that, too? On Tue, 4 Feb 2020 at 11:01, Gary Gregory wrote: > > Compiling on Java 9 or above will break Java 8 clients if we have code that > complies against Buffer classes. > > Gary > > On Tue, Feb 4, 2020, 08:49 Volkan Yazıcı wrot

Re: Necessity of multiple JDKs for build

2020-02-04 Thread Gary Gregory
Compiling on Java 9 or above will break Java 8 clients if we have code that complies against Buffer classes. Gary On Tue, Feb 4, 2020, 08:49 Volkan Yazıcı wrote: > Okay. I've created a ticket[1] for this. Note that once this is done, > migration to GitHub Actions[2] becomes straightforward. (Ma

Re: Necessity of multiple JDKs for build

2020-02-04 Thread Volkan Yazıcı
Okay. I've created a ticket[1] for this. Note that once this is done, migration to GitHub Actions[2] becomes straightforward. (Marked [1] as a blocker for [2].) [1] https://issues.apache.org/jira/browse/LOG4J2-2771 [2] https://issues.apache.org/jira/browse/LOG4J2-2764 On Tue, Feb 4, 2020 at 2:24

Re: Necessity of multiple JDKs for build

2020-02-04 Thread Matt Sicker
There are some compile errors if you try to use 11 for everything. If those are fixed, we can likely use 11 for the whole build with animal sniffer or something configured to prevent using incorrect APIs. On Tue, Feb 4, 2020 at 03:07 Volkan Yazıcı wrote: > Hello, > > Would somebody mind remindin

Necessity of multiple JDKs for build

2020-02-04 Thread Volkan Yazıcı
Hello, Would somebody mind reminding me why do we need multiple JDKs for build rather than just sticking to 11 and tuning the target version whenever necessary? Kind regards.