Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Completely revamp how we support JVM compiler plugins. #4287
Previously we had two separate, ad-hoc solutions for javac and scalac plugins, each with different quirks and features.
This change re-implements plugin support, so that as much as possible of the implementation is shared for javac and scalac, and so that the features and usages are identical for both.
This change also adds two comprehensive, basically-identical tests, one for javac and one for scalac, that poke at all the features.
Amazing work. Thanks Benjy! Doing a bit of memoization for plugin loading is probably the only blocker.