Git Product home page Git Product logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 7, 2024

Original comment by [email protected] on 1 Dec 2008 at 1:28

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from gson.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 7, 2024
Why it is marked as enhancement while it seems to be the bug?

Original comment by [email protected] on 1 Apr 2009 at 5:19

from gson.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 7, 2024
Deferred to a future release

Original comment by inder123 on 1 Oct 2009 at 4:04

  • Added labels: Type-Defect, Milestone-Release1.5
  • Removed labels: Type-Enhancement

from gson.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 7, 2024
FYI: Guice's TypeLiteral can do full type resolution. This could be adapted for 
use internally in GSON.
  http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/TypeLiteral.html

Original comment by [email protected] on 20 Aug 2010 at 5:10

from gson.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 7, 2024
Here is a proposed patch for the issue (and associated unit test).

The modification was simply to add a recursive search on all parents super 
classes until the declairing class was found. Then do it again util we end up 
with something that is not a "TypeVariable<?>" (This is done so complex 
hierarchies can work).

Can someone with commit privilege review and approve/reject ?

Thank you.

Original comment by [email protected] on 13 Oct 2010 at 3:14

Attachments:

from gson.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 7, 2024
Thanks for the patch. Adding it as part of the Gson 1.6 release which is set to 
release this coming Friday.

Original comment by [email protected] on 2 Nov 2010 at 3:31

from gson.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 7, 2024

Original comment by inder123 on 3 Nov 2010 at 12:01

  • Removed labels: Milestone-Release1.5

from gson.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 7, 2024
We're planning on fixing this in 1.7.

Original comment by limpbizkit on 3 Nov 2010 at 3:20

  • Changed state: Duplicate

from gson.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.