LGTM if I don’t understand wrong. The key point is to build docker image in Java 11 so that new Pulsar users can start with Java 11 easier, but existing users can still have freedom to choose Java 8 or 11 as they wish.
> 2021年2月9日 下午5:41,Enrico Olivelli <eolive...@gmail.com> 写道: > > Yunze, > It's not exactly as you write. > > We will be building and testing on JDK11. > > Binaries, both server and client, will be able to run on jdk8 > > Building on jdk11 targeting jdk8 does not bring much benefit as you cannot > use jdk11 features and also the byte code will look like the jdk8 version > (for instance no NestMates) > > Currently Pulsar 2.6 and Pulsar 2.7 run well on jdk11 > > > But is the first step towards moving to jdk11 as primary jdk > > I hope that helps > Enrico > > Il Mar 9 Feb 2021, 10:18 Yunze Xu <y...@streamnative.io.invalid> ha scritto: > >> LGTM if I don’t understand wrong. >> >> In short, there’re two key points: >> >> 1. Keep the code compatible with Java 8. >> 2. Release the binaries that are built on JDK 11 to get the benefit. >> >> So Java 8 users can still build Pulsar with JDK 8 but the default releases >> are built on JDK 11. >> >> - Yunze >> >>