Hello.
I just noticed that google's gson library has something i dont see
in objenesis. it appears that there is a sun.misc.Unsafe that can be
used to allocate a new instance aswell. Did you already know about
this, and simply didnt use it since its not as good, or?
it also contains strategies for android dalvik, it appears one is
what objenesis already has, the other appears to be new aswell..
http://google-gson.googlecode.com/svn/trunk/gson/src/main/java/com/google/gson/internal/UnsafeAllocator.java
I find these different methods interesting to study, so if any of
you have information on other strategies, and comments on whether
they should be used, and benefits/drawbacks, i'd like to hear it.
furthermore, i think i can offer to implement strategies if you
provide link to documentations of them, or examples etc, and provide
a patch.
--
Kasper Sandberg
Sandberg Enterprises
+45 51944242
http://www.sandbergenterprises.dk