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

Thorsten Glaser t.glaser at tarent.de
Mon Jul 2 16:52:07 BST 2018


On Mon, 2 Jul 2018, Emmanuel Bourg wrote:

> Base64 is easy, but sun.misc.Unsafe is another story. It's widely used

OIC. I haven’t run into that one yet.

How do I reproduce this with Java 8, anyway?

tglase at tglase:~ $ javac --release 1.8
javac: invalid flag: --release
Usage: javac <options> <source files>
use -help for a list of possible options

Despite http://openjdk.java.net/jeps/247 indicating
it should be supported.

(If for nothing else, then to see whether there are
any Sun-internal class uses left by breaking the build.)

Thanks,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg



More information about the pkg-java-maintainers mailing list