Compact profiles broken?
Alan Bateman
Alan.Bateman at oracle.com
Sun May 22 19:47:19 UTC 2016
On 21/05/2016 11:15, Uwe Schindler wrote:
> :
>
> My proposal would be: If you start javac with "-source 1.8 -target 1.8" and don't pass a bootclasspath, it should switch to "-release 8" for convenience. What do you think? Alternatively allow source and target when passing release if it's not incompatible.
>
I'd prefer to defer to Jan/Jon on this as they have a statement in JEP
247 to say that -release is incompatible with these options. In any
case, it does feel like the tools needs to take -release into account.
If -release is specified then Gradle shouldn't be added -source/-target.
This may be a timing thing as JDK 9 is still in development and it
always takes time for the tools to catch up.
-Alan.
More information about the jigsaw-dev
mailing list