Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for jakarta.inject to core Guice. #1711

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Apr 26, 2023

Add support for jakarta.inject to core Guice.

This does not add support for toProvider(...) to instances of jakarta.inject.Provider or classes/keys/typeLiterals of type jakarta.inject.Provider. See #1383 (comment) for details of the plans. The Guice 6.0 release will support javax.inject and jakarta.inject (excluding toProvider() support for jakarta.inject), and the Guice 7.0+ release will remove the javax.inject references.

Further background on these issues:

@copybara-service copybara-service bot changed the title Add support for jakarta.inject to core Guice. This does not add support for toProvider(...) to instances of jakarta.inject.Provider or classes/keys/typeLiterals of type jakarta.inject.Provider. See https://github.com/google/guice/issues/1383#issuecomment-1523410855 for details of the plans. The Guice 6.0 release will support javax.inject _and_ jakarta.inject (excluding toProvider() support for jakarta.inject), and the Guice 7.0+ release will remove the javax.inject references. Add support for jakarta.inject to core Guice. Apr 26, 2023
@copybara-service copybara-service bot force-pushed the test_526763665 branch 4 times, most recently from c9c7d4e to b0ea875 Compare April 26, 2023 19:47
This does not add support for `toProvider(...)` to instances of `jakarta.inject.Provider` or classes/keys/typeLiterals of type `jakarta.inject.Provider`. See #1383 (comment) for details of the plans. The Guice 6.0 release will support `javax.inject` _and_ `jakarta.inject` (excluding `toProvider()` support for `jakarta.inject`), and the Guice 7.0+ release will remove the `javax.inject` references.

Further background on these issues:
 * #1630
 * #1679
 * #1490
 * #1383

PiperOrigin-RevId: 527349023
@copybara-service copybara-service bot merged commit 5eff2ea into master Apr 26, 2023
@copybara-service copybara-service bot deleted the test_526763665 branch April 26, 2023 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant