google-code-export / objectify-appengine

Automatically exported from code.google.com/p/objectify-appengine
MIT License
1 stars 0 forks source link

Support private zero-arg constructors #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Instead of calling Class.newInstance(), we should use reflection to
get a hold of the zero-arg constructor and use that to create new
instances. That way, we can call private zero-arg constructors. 

From thread here:
http://groups.google.com/group/objectify-appengine/msg/bf8d30ffa59d0f6e

Original issue reported on code.google.com by spudbean on 4 Feb 2010 at 10:55

GoogleCodeExporter commented 9 years ago

Original comment by spudbean on 4 Feb 2010 at 10:56

GoogleCodeExporter commented 9 years ago
This has been committed to trunk

Original comment by spudbean on 5 Feb 2010 at 9:59