forked from square/dagger
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not allow calls to earlySingletonComponent() if there are no @Earl…
…yEntryPoints. Before this change, this method would not throw if shareTestComponent was enabled, regardless of whether there were any @EarlyEntryPoints. After this change, EarlySingletonComponentCreatorImpl is no longer generated unless there are aggregated @EarlyEntryPoints. The ability to reflect on this class is what determines whether an exception is thrown. RELNOTES=EarlyEntryPoints#get() will now throw if there are no @EarlyEntryPoint annotated interfaces. PiperOrigin-RevId: 403191264
- Loading branch information
Showing
3 changed files
with
4 additions
and
4 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