Agreed. Java 8 is the new Python 2.7. It's going to take a long time for everyone to get off of it. Furthermore, Java 11 has few advantages over Java 8 for programmers, especially now that TLSv1.3 and ALPN are being backported to JDK8.
On Sat, Sep 26, 2020 at 8:58 AM Gary Gregory <[email protected]> wrote: > Let's start with basing 5.x on Java 8 IMO. > > Gary > > On Sat, Sep 26, 2020 at 10:51 AM Michael Osipov <[email protected]> > wrote: > > > Am 2020-09-24 um 09:18 schrieb Oleg Kalnichevski: > > > On Wed, 2020-09-23 at 15:38 -0400, Gary Gregory wrote: > > >> +1 > > >> > > >> My review is based on the src zip. > > >> SHA512 OK > > >> Apache RAT check OK > > >> Apache CLIRR check OK > > >> > > >> On Java 11 and above, the tests emit: > > >> > > >> [ERROR] WARNING: An illegal reflective access operation has occurred > > >> [ERROR] WARNING: Illegal reflective access by > > >> org.apache.hc.core5.util.ReflectionUtils$1 > > >> (file:/C:/d3vsrc/m2_repo/org/apache/httpcomponents/core5/httpcore5/5. > > >> 0.2/httpcore5-5.0.2.jar) > > >> to method sun.security.ssl.SSLEngineImpl.getApplicationProtocol() > > >> [ERROR] WARNING: Please consider reporting this to the maintainers of > > >> org.apache.hc.core5.util.ReflectionUtils$1 > > >> [ERROR] WARNING: Use --illegal-access=warn to enable warnings of > > >> further > > >> illegal reflective access operations > > >> [ERROR] WARNING: All illegal access operations will be denied in a > > >> future > > >> release > > >> > > > > > > Hi Gary > > > > > > I am aware. Reflective access to Java 11 specific functionality used to > > > be the only option to get ALPN TLS working. Nowadays we can use > > > Conscrypt TLS library as an alternative to the standard JSSE provider. > > > > > > However, having said that, we should seriously consider upgrading to > > > Java 11 instead of Java 1.8 > > > > I would object that for many years to go. A lot of commercial software > > will retain on Java 8 for a long time. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > >
