Éamonn McManus
4bb67483f9
Update dependencies in proto/pom.xml. ( #1949 )
...
Also use GeneratedMessageV3 rather than GeneratedMessage, consistent with recent versions of protoc.
2021-09-01 17:11:48 -07:00
Éamonn McManus
c8f26dc907
Add missing calls when testing for exceptions. ( #1948 )
2021-08-31 15:03:45 -07:00
Éamonn McManus
1a2e58a42f
Remove an unused import. ( #1947 )
2021-08-31 14:55:07 -07:00
Simon Guerout
66fd2acdcf
Fix formatting
2021-08-30 09:57:08 -07:00
Simon Guerout
ac14b4c197
Make the nextJsonElement more robust
...
Add test cases
2021-08-30 09:57:08 -07:00
Simon Guerout
62a9702385
Improve the speed of the JSON_ELEMENT TypeAdapter when the object graph has already been turned into a JsonElement
2021-08-30 09:57:08 -07:00
Éamonn McManus
1023f0fe34
Merge pull request #1707 from Marcono1234/optional-sql
...
Make dependency on java.sql optional
2021-08-25 11:26:58 -07:00
Éamonn McManus
69173b02ea
Merge branch 'master' into optional-sql
2021-08-24 13:41:12 -07:00
Éamonn McManus
03be835914
Update change log, and version numbers in documentation.
2021-08-20 10:02:13 -07:00
Éamonn McManus
b2f661166f
[maven-release-plugin] prepare for next development iteration
2021-08-20 09:07:21 -07:00
Éamonn McManus
b41030d3dc
[maven-release-plugin] prepare release gson-parent-2.8.8
2021-08-20 09:07:19 -07:00
Éamonn McManus
81f25c8b45
Merge pull request #1936 from google/dependabot/maven/org.apache.maven.scm-maven-scm-provider-gitexe-1.11.3
...
Bump maven-scm-provider-gitexe from 1.11.2 to 1.11.3
2021-08-12 11:47:47 -07:00
Éamonn McManus
a7404e8ede
Merge pull request #1935 from google/dependabot/maven/org.apache.maven.scm-maven-scm-api-1.11.3
...
Bump maven-scm-api from 1.11.2 to 1.11.3
2021-08-12 11:47:28 -07:00
dependabot[bot]
205df01c04
Bump maven-scm-provider-gitexe from 1.11.2 to 1.11.3
...
Bumps maven-scm-provider-gitexe from 1.11.2 to 1.11.3.
---
updated-dependencies:
- dependency-name: org.apache.maven.scm:maven-scm-provider-gitexe
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 03:04:06 +00:00
dependabot[bot]
f98dabd1e9
Bump maven-scm-api from 1.11.2 to 1.11.3
...
Bumps [maven-scm-api](https://github.com/apache/maven-scm ) from 1.11.2 to 1.11.3.
- [Release notes](https://github.com/apache/maven-scm/releases )
- [Commits](https://github.com/apache/maven-scm/compare/maven-scm-1.11.2...maven-scm-1.11.3 )
---
updated-dependencies:
- dependency-name: org.apache.maven.scm:maven-scm-api
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 03:04:02 +00:00
É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