[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#895619: plexus-compiler: use --release instead of -source/-target for jdk9+ when setting defaults

Le 02/07/2018 à 17:32, Thorsten Glaser a écrit :

> Patch code that uses those internal APIs. This is what we do here™
> as well, ever since we could require Java 8 at the customers’ sites.
> It’s been easy so far as most of the time it was just base64.

Base64 is easy, but sun.misc.Unsafe is another story. It's widely used
and its replacement (VarHandle [1]) requires Java 9+. So even if it
builds with OpenJDK 10, it still won't work with Java 8.

[1] http://openjdk.java.net/jeps/193

Reply to: