Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change javac's compilation policy in open-source Error Prone to requi…
…re that classes in the same source file must always be at the same compiler phase, and remove Error Prone code related to dealing with multiple top-level classes that are at different compiler phases. javac by default processes each class individually through all the compiler phases. This means that if you have multiple top-level classes in the same source file, you cannot analyze the whole compilation unit at once since one of the classes will have been lowered already. This CL passes an option to javac to tell it to group classes in the same file and process them in lockstep. This lets us remove complexity from Error Prone, and makes it easier to unify with Refaster. RELNOTES: none ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=101266905
- Loading branch information
Showing
12 changed files
with
147 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.