RFR 8155674: Move javac towards a "by-file" compilation policy

Jonathan Gibbons jonathan.gibbons at oracle.com
Fri Dec 2 02:06:23 UTC 2016



On 12/01/2016 05:52 PM, Liam Miller-Cushon wrote:
> Hello,
>
> As discussed here:
> http://mail.openjdk.java.net/pipermail/compiler-dev/2016-April/010142.html
>
> desugar requires supertypes to be translated before subtypes, which causes
> classes to be translated separately from their compilation units when
> 'by file' is enabled.
>
> The proposed fix is for desugar to translate the entire compilation 
> unit of
> any supertypes it encounters.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8155674
>
> Thanks,
>
> Liam

Liam,

Does this address the potential problem with cycles that you mentioned in
the original email?

-- Jon


More information about the compiler-dev mailing list