Commit Graph

1526 Commits

Author SHA1 Message Date
YOUNG CHA
94f894cf44 Add testcase for obfuscated enum class 2021-08-04 12:02:50 +09:00
YOUNG CHA
68f99f2440 Make EnumTypeAdapter friendly with obfuscation
When enum value was obfuscated by proguard, EnumTypeAdapter raise NoSuchFieldException even if apply SerializedName annotation.
Because EnumTypeAdapter cannot find obfuscated enum constant field with its name.
2021-08-04 12:02:47 +09:00
Éamonn McManus
63e747f7f4
Merge pull request #1712 from rhernandez35/master
Fix fallback behavior of UnsafeReflectionAllocator when AccessibleObject isn't so accessible
2021-08-03 17:27:54 -07:00
Éamonn McManus
a14f1618b5
Merge pull request #1924 from eamonnmcmanus/master
Adjust some minor details of #1391.
2021-08-02 17:37:53 -07:00
Éamonn McManus
425cb25549 Adjust some minor details of #1391.
Use two-space indentation for the new test.
Use standard Google import style.
Supply missing type argument for `TypeVariable`.
2021-08-02 17:33:10 -07:00
Éamonn McManus
d65960b001
Merge pull request #1391 from mcumings/issue1390
Fix issue with recursive type variable protections to fix #1390
2021-08-02 16:43:19 -07:00
Éamonn McManus
f319c1b8e5
Merge pull request #1897 from Conclure/patch-1
Update README.md version 2.8.6 -> 2.8.7
2021-05-27 07:16:47 -07:00
Conclure
812b9c08e3
Update README.md version 2.8.6 -> 2.8.7
version 2.8.6 -> 2.8.7 for gradle and maven dependencies block
2021-05-26 13:27:53 +02:00
Éamonn McManus
f5fcb0f4cb
Merge pull request #1895 from google/finish-2.8.7
Update user guide and change log to reflect 2.8.7 release.
2021-05-24 17:42:32 -07:00
Éamonn McManus
45c0bd96f0 Update user guide and change log to reflect 2.8.7 release. 2021-05-24 16:39:52 -07:00
Éamonn McManus
dadbdbb837 [maven-release-plugin] prepare for next development iteration 2021-05-24 16:22:45 -07:00
Éamonn McManus
4520489c29 [maven-release-plugin] prepare release gson-parent-2.8.7 2021-05-24 16:22:41 -07:00
Éamonn McManus
fa4a17756d Add missing dependency for the release plugin. 2021-05-24 15:37:40 -07:00
Éamonn McManus
3a69469638
Merge pull request #1894 from google/dependabot/maven/org.apache.maven.plugins-maven-javadoc-plugin-3.3.0
Bump maven-javadoc-plugin from 3.2.0 to 3.3.0
2021-05-24 15:30:36 -07:00
dependabot[bot]
d4fb033a47
Bump maven-javadoc-plugin from 3.2.0 to 3.3.0
Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.2.0...maven-javadoc-plugin-3.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 06:27:14 +00:00
Éamonn McManus
1e4b84c34f
Merge pull request #1687 from Marcono1234/iso-utils-test-fix
Fix ISO8601UtilsTest failing on systems with UTC+X
2021-05-13 17:19:26 -07:00
Éamonn McManus
829a514aed
Merge pull request #1786 from Marcono1234/marcono1234/JsonStreamParser-doc-fix
Improve incorrect JsonStreamParser doc
2021-05-13 16:45:36 -07:00
Éamonn McManus
8a6af9d984
Merge pull request #1800 from google/dependabot/maven/extras/junit-junit-4.13.1
Bump junit from 3.8.2 to 4.13.1 in /extras
2021-05-13 16:43:18 -07:00
Éamonn McManus
4d43f30cf4
Merge pull request #1801 from google/dependabot/maven/proto/junit-junit-4.13.1
Bump junit from 4.12 to 4.13.1 in /proto
2021-05-13 16:43:04 -07:00
Éamonn McManus
b7c590ff8e
Merge pull request #1802 from google/dependabot/maven/codegen/junit-junit-4.13.1
Bump junit from 3.8.2 to 4.13.1 in /codegen
2021-05-13 16:42:49 -07:00
Éamonn McManus
90ffe4c3d5
Merge pull request #1804 from google/dependabot/maven/metrics/junit-junit-4.13.1
Bump junit from 3.8.2 to 4.13.1 in /metrics
2021-05-13 16:42:28 -07:00
Éamonn McManus
0bf0998f64
Merge pull request #1888 from google/dependabot/maven/org.apache.felix-maven-bundle-plugin-5.1.2
Bump maven-bundle-plugin from 3.3.0 to 5.1.2
2021-05-13 16:39:58 -07:00
Éamonn McManus
daafbe949f
Merge pull request #1889 from google/dependabot/maven/org.apache.maven.plugins-maven-javadoc-plugin-3.2.0
Bump maven-javadoc-plugin from 2.10.4 to 3.2.0
2021-05-13 16:39:39 -07:00
Éamonn McManus
05d6c16a02
Merge pull request #1890 from google/dependabot/maven/biz.aQute.bnd-bnd-maven-plugin-5.3.0
Bump bnd-maven-plugin from 4.0.0 to 5.3.0
2021-05-13 16:39:26 -07:00
Éamonn McManus
4e2610d52c
Merge pull request #1891 from google/dependabot/maven/org.apache.maven.scm-maven-scm-provider-gitexe-1.11.2
Bump maven-scm-provider-gitexe from 1.9.5 to 1.11.2
2021-05-13 16:39:13 -07:00
Éamonn McManus
b8ac65ba2d
Merge pull request #1892 from google/dependabot/maven/junit-junit-4.13.2
Bump junit from 4.12 to 4.13.2
2021-05-13 16:38:58 -07:00
dependabot[bot]
05a25a1ef2
Bump junit from 4.12 to 4.13.2
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.2.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 23:31:34 +00:00
dependabot[bot]
e6750e7b94
Bump maven-scm-provider-gitexe from 1.9.5 to 1.11.2
Bumps maven-scm-provider-gitexe from 1.9.5 to 1.11.2.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 23:31:28 +00:00
dependabot[bot]
83c63d2256
Bump bnd-maven-plugin from 4.0.0 to 5.3.0
Bumps [bnd-maven-plugin](https://github.com/bndtools/bnd) from 4.0.0 to 5.3.0.
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Changelog](https://github.com/bndtools/bnd/blob/master/docs/ADDING_RELEASE_DOCS.md)
- [Commits](https://github.com/bndtools/bnd/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 23:31:27 +00:00
dependabot[bot]
0d4e59da8b
Bump maven-bundle-plugin from 3.3.0 to 5.1.2
Bumps maven-bundle-plugin from 3.3.0 to 5.1.2.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 23:31:25 +00:00
dependabot[bot]
49d128b423
Bump maven-javadoc-plugin from 2.10.4 to 3.2.0
Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 2.10.4 to 3.2.0.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-2.10.4...maven-javadoc-plugin-3.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 23:31:25 +00:00
Éamonn McManus
bcb6b1fa81
Create dependabot.yml 2021-05-13 16:30:52 -07:00
dependabot[bot]
ada6985285
Bump junit from 3.8.2 to 4.13.1 in /metrics
Bumps [junit](https://github.com/junit-team/junit4) from 3.8.2 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r3.8.2...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12 22:56:23 +00:00
dependabot[bot]
daba2fd7ff
Bump junit from 3.8.2 to 4.13.1 in /codegen
Bumps [junit](https://github.com/junit-team/junit4) from 3.8.2 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r3.8.2...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12 22:56:05 +00:00
dependabot[bot]
345dea2c8a
Bump junit from 4.12 to 4.13.1 in /proto
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12 22:56:03 +00:00
dependabot[bot]
074a556d38
Bump junit from 3.8.2 to 4.13.1 in /extras
Bumps [junit](https://github.com/junit-team/junit4) from 3.8.2 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r3.8.2...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12 22:55:48 +00:00
Marcono1234
b1edb70486 Improve incorrect JsonStreamParser doc 2020-09-19 13:30:50 +02:00
Richard Hernandez
b39494dbe6 Fix fallback behavior of UnsafeReflectionAllocator when AccessibleObject isn't so accessible 2020-05-26 20:12:36 -07:00
Marius Volkhart
ceae88bd66
Update proguard.cfg (#1693)
TypeAdapter is an abstract class, and R8 warns about this during the build.
2020-05-13 12:49:59 -07:00
Marcono1234
9171715a88 Fix ISO8601UtilsTest failing on systems with UTC+X
Previously ISO8601UtilsTest.testDateFormatString() would fail on systems
where the time zone is UTC+X because getTime() returned "2018-06-24" for them.

Additionally the tests which previously changed the system locale and time
zone have been rewritten to create a UTC calendar instead. Setting locale
seems to not be necessary because ISO8601Utils.parse(...) does not do that
either.
2020-05-03 00:35:47 +02:00
Simon Legner
1a9469a8c5
doc(UserGuide): mention TypeAdapters class (#1685) 2020-05-02 01:01:44 -07:00
Matthew Lee
55acc23d86
Fixing https://github.com/google/gson/issues/1592 (#1623)
adding null parameter check to name(), fixing the issue and being consistent with superclass behavior
2020-03-02 14:57:42 -08:00
Gabriel Basilio Brito
fa947212e0
Add isEmpty method to JsonArray class (#1640)
The method will return true if the array is empty and false if it's not
2020-03-02 14:52:37 -08:00
Marcono1234
360cd3e2da
Remove unused files (#1654)
* Remove outdated javadocs folder

* Remove old release notes

* Remove unused Maven assembly plugin file

Plugin usage has been removed in 2016e95
2020-03-02 14:49:47 -08:00
Jiechuan Chen
4d735f1903
Add new testcases (#1638)
* Json Primitive Tests

* Json Tree Writer tests

* Add Tests for ISO8601Utils

* Add Tests for ISO8601Utils
2020-02-17 14:55:19 -08:00
Marcono1234
530cb74470
Fix javadoc doclint HTML warnings (#1653) 2020-02-17 14:46:15 -08:00
Marcono1234
adc4c1949d
Change links from HTTP to HTTPS (#1655) 2020-02-17 14:42:27 -08:00
Jonathan Leitschuh
58f5ed9690
Official Gradle Wrapper Validation Action (#1648)
See: https://github.com/gradle/wrapper-validation-action
2020-02-05 15:11:43 -08:00
Marcono1234
4109aaa6a9 Use OpenJDK 11 for Travis CI (#1607)
Fixes #1606 (?)
2019-11-05 10:29:11 -08:00
Brian de Alwis
521fab2dd5 Fix OSGi metadata generation to work on JavaSE < 9 (#1603)
* Explicitly specify `Require-Capability: osgi.ee` to require 1.5+

Specifying disables bnd's auto-generated value which is determined from
the minimum versions of the .class files, including `module-info.class`

* Drop JavaSE-1.5 since that boat sailed a long time ago

* Drop unused org.apache.felix:maven-bundle-plugin plugin
2019-11-04 15:37:46 -08:00