On Sun, 30 Oct 2022, 18:40 Jaroslav Tulach, <jaroslav.tul...@gmail.com> wrote:
> Dne úterý 25. října 2022 11:02:07 CET, Neil C Smith napsal(a): > > On Tue, 25 Oct 2022 at 08:06, Jaroslav Tulach <jaroslav.tul...@gmail.com> > > wrote: > > > JDK `javac` drops support for old `-target` versions. E.g. version 11 > can > > > no> > > > longer target 1.5 bytecode: > > > > Doesn't that take nb-javac beyond ever being just an automated > > backport of the current javac to run on older JDK? > > nb-javac is an automated backport of the latest JDK's javac to run on > JDK8+. > No change here. > > > I'm confused! > Yep, still confused! How do you plan to backport the latest javac while also including support for removed older targets? Add all the removed code back in? Or are we talking different versions of nb-javac for compiling the IDE than used in editor support? I don't see much issue with requiring older JDKs to compile older NetBeans personally - it's probably less likely to break than assuming the old compiler code runs correctly on JDK 33+ ... Best wishes, Neil