-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a class loading deadlock involving
TypeAdapters
. (#2740)
* Fix a class loading deadlock involving `TypeAdapters`. Fixes #2739. * Remove deprecation of internal fields. The idea was to discourage people from using these, but they have been there for a long time and the deprecation isn't going to have much effect. Meanwhile the deprecation required `@SuppressWarnings`, which was annoying. Also move `JsonElementTypeFactory.ADAPTER` back into `TypeAdapters` so there is no further circular dependency between the two classes. I think it was harmless but it's easy enough to avoid. * Omit unnecessary type qualificiation.
- Loading branch information
1 parent
48889db
commit 6160932
Showing
5 changed files
with
12 additions
and
46 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
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