Commit Graph

1752 Commits

Author SHA1 Message Date
Éamonn McManus
9edaeb3b2e
Merge pull request #1909 from HiFromAjay/aj
Test cases for testing the exceptional behavior of JsonArray get... methods
2021-08-07 07:54:12 -07:00
HiFromAjay
01ab13f701 Remove unused imports [#1909, #1908] 2021-08-05 17:23:28 -06:00
Éamonn McManus
789818d180
Merge pull request #1930 from christofferqa/keep_typetoken
Retain generic signature of TypeToken with R8 version 3.0 and higher
2021-08-05 06:40:02 -07:00
Éamonn McManus
df94ccdb48
Merge pull request #1925 from google/dependabot/maven/org.apache.maven.plugins-maven-resources-plugin-3.2.0
Bump maven-resources-plugin from 2.7 to 3.2.0
2021-08-05 06:28:52 -07:00
Éamonn McManus
80feb232b5
Merge pull request #1926 from google/dependabot/maven/com.github.wvengen-proguard-maven-plugin-2.4.0
Bump proguard-maven-plugin from 2.3.1 to 2.4.0
2021-08-05 06:28:12 -07:00
Éamonn McManus
89f0baeead
Merge pull request #1927 from google/dependabot/maven/com.coderplus.maven.plugins-copy-rename-maven-plugin-1.0.1
Bump copy-rename-maven-plugin from 1.0 to 1.0.1
2021-08-05 06:27:55 -07:00
Christoffer Quist Adamsen
d3a75cb569 Retain generic signature of TypeToken with R8 version 3.0 and higher 2021-08-05 09:18:32 +02:00
dependabot[bot]
da2bfd7d1c
Bump copy-rename-maven-plugin from 1.0 to 1.0.1
Bumps [copy-rename-maven-plugin](https://github.com/coderplus/copy-rename-maven-plugin) from 1.0 to 1.0.1.
- [Release notes](https://github.com/coderplus/copy-rename-maven-plugin/releases)
- [Commits](https://github.com/coderplus/copy-rename-maven-plugin/commits)

---
updated-dependencies:
- dependency-name: com.coderplus.maven.plugins:copy-rename-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-05 03:03:02 +00:00
dependabot[bot]
b7fce3850d
Bump proguard-maven-plugin from 2.3.1 to 2.4.0
Bumps [proguard-maven-plugin](https://github.com/wvengen/proguard-maven-plugin) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/wvengen/proguard-maven-plugin/releases)
- [Changelog](https://github.com/wvengen/proguard-maven-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wvengen/proguard-maven-plugin/commits)

---
updated-dependencies:
- dependency-name: com.github.wvengen:proguard-maven-plugin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-05 03:03:00 +00:00
dependabot[bot]
178b221fa0
Bump maven-resources-plugin from 2.7 to 3.2.0
Bumps [maven-resources-plugin](https://github.com/apache/maven-resources-plugin) from 2.7 to 3.2.0.
- [Release notes](https://github.com/apache/maven-resources-plugin/releases)
- [Commits](https://github.com/apache/maven-resources-plugin/compare/maven-resources-plugin-2.7...maven-resources-plugin-3.2.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-resources-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-05 03:02:56 +00:00
Éamonn McManus
25f47f87a5
Merge pull request #1495 from ganadist/master
Make EnumTypeAdapter friendly with obfuscation
2021-08-04 06:58:15 -07:00
YOUNG HO CHA
d8c5fcf00b Fix indentation of EnumWithObfuscatedTest 2021-08-04 12:30:07 +09:00
YOUNG HO CHA
59a8aedb37 Use SecurityManager to read enum fields 2021-08-04 12:24:55 +09:00
YOUNG HO CHA
20720d6a40 Remove unnecessary catch block 2021-08-04 12:03:28 +09:00
YOUNG HO CHA
6ac9f7d840 Suppress unchecked type cast warning 2021-08-04 12:03:21 +09:00
YOUNG HO CHA
92a98dab02 Removed unused import 2021-08-04 12:03:15 +09:00
YOUNG HO CHA
e99a4b1cb7 Move testcases-proguard.conf into gson/src/test/resources 2021-08-04 12:03:10 +09:00
YOUNG HO CHA
1406477d0c Fix post-obfuscate-class task to include obfuscated test classes 2021-08-04 12:03:02 +09:00
YOUNG HO CHA
7988fbfa90 Update proguard plugin to support Java 11 compiler 2021-08-04 12:02:55 +09:00
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
HiFromAjay
2d1981d39b modify test cases for testing the exceptional behavior of get... methods [use fail(...), use JsonArray methods, remove unused values, formatting, #1909, #1908] 2021-06-14 14:31:14 -06:00
HiFromAjay
55115a5ca2 Test cases for testing the exceptional behavior of get, getAsBoolean, getAsDouble, getAsInt, getAsJsonArray, getAsJsonObject, getAsLong, and getAsString methods of JsonArray class. These test cases, which we wrote according to the specified behavior of each method, that helped us in identifying the documentation bugs in JsonArray and JsonElement classes, which we submitted issues for (Issue #1908). Note that we have adapted these test cases based on similar tests from the JSON-java project (https://github.com/stleary/JSON-java). 2021-06-11 10:04:32 -06: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