Just an update. I have started to tests failures on CI regarding JDK11 I am using my github fork in order not to pollute the shared CI
If you are curious you can see the results in this branch https://github.com/eolivelli/pulsar/pull/6 I will create issues for every finding, like this https://github.com/apache/pulsar/issues/9720 Having some "label" would help in qualifying the issue. If anyone is interested in working on fixes on these issues please add a comment on the issue Enrico Il giorno mer 10 feb 2021 alle ore 09:54 Enrico Olivelli <eolive...@gmail.com> ha scritto: > > Renkai, > > Il giorno mer 10 feb 2021 alle ore 09:35 Renkai Ge <gaelook...@gmail.com> ha > scritto: >> >> 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. > > > Yes this is one of the main point, > the second point to be implemented in the short term is to make the build and > test work on Java 11 (and switch most of CI jobs on Java 11) > > > If there are no other points/objections I will start to send a first set of > patches, the first thing (and the hardest one) to do is to see all tests > passing on Java 11 > > Thank you all for this discussion > > Enrico > >> >> >> > 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 >> >> >> >> >>