-
-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support non-local Java compiler use in mixed Java/Scala compilation (#…
…2231) We need this feature to support SemanticDB generation (#2227) via a Java compiler plugin in mixed Scala/Java projects. We already introduced non-local Java compilers in #1988. This change now also allows the use of a non-local Java compiler in mixed Java/Scala modules, if any `-J` option is given. As compilers are cached, I added the `hashCode` of the relevant runtime `javacOptions` to the cache key. I took the opportunity to remove non-relevant options from the existing Java compiler cache, to reduce the amount of cached compiler instances. Pull request: #2231
- Loading branch information
Showing
1 changed file
with
42 additions
and
34 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