forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not require option converters to be public.
Change how we reflectively instantiate the option converters so that Bazel no longer crashes when we try to use a non-public class. Technically, this is overriding the visibility of the class and the constructor, however this is merely a side effect of the fact that annotations do not allow us to use an actual object. It is not obvious why these classes have to be public and a mistake here results with Bazel failing to start. PiperOrigin-RevId: 482281892 Change-Id: I064301ce88f83fd55a305385309cfb357e5e054c
- Loading branch information
1 parent
dfccbf9
commit 58edc17
Showing
2 changed files
with
6 additions
and
3 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