Permalink
Commits on Oct 6, 2018
  1. fixes for Android 4

    amogilev committed Sep 15, 2018
Commits on Dec 9, 2017
Commits on Dec 7, 2017
  1. Merge with Gson 2.8.2

    amogilev committed Dec 7, 2017
Commits on Dec 4, 2017
Commits on Nov 21, 2017
  1. Java 9 support: use Unsafe-based reflection in Java 9+

    amogilev committed Nov 21, 2017
    fixes "illegal reflective access" warnings and exceptions
Commits on Sep 20, 2017
  1. revised steps

    inder123 committed Sep 20, 2017
  2. Change log for 2.8.2

    inder123 committed Sep 20, 2017
Commits on Sep 18, 2017
  1. Update fromJson Javadoc. (#1151)

    nbeckman authored and inder123 committed Sep 18, 2017
    For the string-based fromJson() method, mention that the result will be null if the given string is empty.
  2. Fixed DefaultDateTypeAdapter nullability issue and JSON primitives co…

    lyubomyr-shaydariv authored and inder123 committed Sep 18, 2017
    …ntract (#1100)
    
    * Fixed DefaultDateTypeAdapter nullability issue and JSON primitives contract
    
    Regression in:
    
    * b8f616c - Migrate DefaultDateTypeAdapter to streaming adapter (#1070)
    
    Bug reports:
    
    * google/gson#1096 - 2.8.1 can't serialize and deserialize date null (2.8.0 works fine)
    * google/gson#1098 - Gson 2.8.1 DefaultDateTypeAdapter is not null safe.
    
    * Fixed DefaultDateTypeAdapter nullability on write
  3. Java protobuf uses lower camel for all field names. When using reflec…

    orischwartz authored and inder123 committed Sep 18, 2017
    …tion to find the generic type of repeated fields, can't use the user specified formats for field name conversion. (#1119)
Commits on Sep 15, 2017
  1. Merge pull request #1158 from naturalwarren/ws_update_proguard

    JakeWharton committed Sep 15, 2017
    Update proguard rules to not warn on sun.misc package.
Commits on Aug 27, 2017
  1. workaround for enums corrupted by ProGuard

    amogilev committed Aug 27, 2017
    Default ProGuard configuration removes valueOf() and values() from the
    processed enum classes. As a result, type.getEnumConstants() == null for
    such classes, and NullPointerException was thrown from the constructor
    of EnumTypeAdapter.
    
    As an example of the corrupted enum classes, see Predicates.ObjectPredicates
    from jersey-guava (up to 2.25.1 so far).
    Also see https://www.guardsquare.com/en/proguard/manual/examples#enumerations
Commits on Aug 26, 2017
Commits on Aug 14, 2017
Commits on Aug 3, 2017
  1. Merge pull request #1134 from tommagnusson/patch-1

    JakeWharton committed Aug 3, 2017
    fix typo in ConstructorConstructor exception
Commits on Jul 31, 2017
  1. Fix StackOverflowError on resolving types with TypeVariable recursion…

    amogilev authored and inder123 committed Jul 31, 2017
    … (#1128)
    
    * Fix StackOverflowError on resolving types with TypeVariable recursion
    
    Sample failing code:
      private static class TestType<X> {
        TestType<? super X> superType;
      }
      ...
      new Gson().getAdapter(TestType.class);
    
    * fix build errors