Re: Move to support jdk 12

Evgeny Mandrikov <[email protected]> Tue, 26 Jun 2018 12:13:42 +0200
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <CAEPFu6-iHqCrc2vndCcSVpBftxWuaJwG7jcmxfU=thtxsSqs8w@mail.gmail.com>
Hi Remi,

Wondering why not use two JDKs - one for compilation, one for tests?

On Tue, Jun 26, 2018 at 10:08 AM Remi Forax <[email protected]> wrote:

> Hi all,
> the jdk 11 will be the last version to support the java 6 compilation
> target,
> the version 12 of javac will soon remove the support of java 6.
>
> Given that we need java 8 to run the test, i think we should use java 8 as
> target for the code and re-write the bytecode to still be 1.5 compatible
> (currently we only do 1.6 to 1.5),
> as far i as know, it means at least to rewrite all occurences of
> invokestatic Objects.requiresNonNull + pop to invokevirtual Object.getClass
> (javac 7 generates Objects.requiresNonNull to do a null check). Is there
> any other changes we need to do to still be java 5 compatible ?
>
> regards,
> Rémi
>
>
> --
> You receive this message as a subscriber of the [email protected] mailing list.
> To unsubscribe: mailto:[email protected]
> For general help: mailto:[email protected]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws