Re: Bug#895619: plexus-compiler: use --release instead of -source/-target for jdk9+ when setting defaults
Le 02/07/2018 à 17:59, Thorsten Glaser a écrit :
> Revert default-jdk to 8 until these all are fixed.
> (Since the internal APIs are, well, internal, they
> all ought to be fixed by their respective upstreams
> *anyway* AIUI.)
Reverting to OpenJDK 8 won't help, because most of the private APIs
don't have a public replacement yet. The commonly used sun.misc.Unsafe
class got java.lang.invoke.VahHandle  as a replacement, but other
internal classes like sun.misc.SignalHandler have no substitute. We can
only move forward and gradually replace the internal APIs with the
public equivalent when they become available.