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
> >>
> >>
>
>

Reply via email to