dependabot[bot]
b0f3237bb8
Bump proguard-maven-plugin from 2.4.0 to 2.5.1 ( #1980 )
...
Bumps [proguard-maven-plugin](https://github.com/wvengen/proguard-maven-plugin ) from 2.4.0 to 2.5.1.
- [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:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 09:59:56 -07:00
Marcono1234
aa5554e69a
Don't exclude static local classes ( #1969 )
2021-09-17 18:12:47 -07:00
Marcono1234
f1f90313fc
Improve Maven build ( #1964 )
...
- Specify missing plugin versions
- Fix or suppress ProGuard notes and warnings
2021-09-17 17:19:50 -07:00
Nikita Novik
4f2aeaa288
Add license note to GSON POM file. ( #1951 )
...
* Add license note to GSON POM file.
2021-09-06 10:35:43 -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
69173b02ea
Merge branch 'master' into optional-sql
2021-08-24 13:41:12 -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
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
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
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
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
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
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
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
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
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
Marcono1234
a4a235e14a
Remove redundant validation method
2020-05-24 23:54:32 +02:00
Marcono1234
4fb215c9df
Move SQL types specific tests to separate test class
2020-05-23 23:31:03 +02:00
Marcono1234
380c4ec12c
Make dependency on java.sql optional
2020-05-23 23:30:53 +02:00
Marcono1234
361292f1c1
Fix warnings
2020-05-09 17:34:53 +02:00
Marcono1234
541252a9fb
Implement DefaultDateTypeAdapter in a type safer way
2020-05-09 17:34:52 +02: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
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