How to compile code calling unexpected classes to an older release?
joe darcy
joe.darcy at oracle.com
Thu Oct 27 15:59:30 UTC 2016
On 10/27/2016 2:14 AM, Claes Redestad wrote:
> Hi,
>
> "-XDignore.symbol.file -source 8 -target 8" can get your code to
> compile (add -nowarn or set a valid bootclasspath to get rid of the
> warning).
>
> So, it seems --release 8 has issues with internal classes not visible
> to javac in 9?
By design, --release 8 does not expose internal classes :-)
-Joe
More information about the compiler-dev
mailing list