Move to support jdk 12

Remi Forax <[email protected]> Tue, 26 Jun 2018 10:08:02 +0200 (CEST)
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
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