New issue 12 by mario.fusco: Objenesis can't work on the Google Apps Engine
http://code.google.com/p/objenesis/issues/detail?id=12
Trying to use objenesis on GAE the following exception is thrown
java.lang.NoClassDefFoundError: sun.reflect.ReflectionFactory is a
restricted class.
Please see the Google App Engine developer's guide for more details.
at
com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:51)
at
org.objenesis.instantiator.sun.SunReflectionFactoryInstantiator.<init>(SunReflectionFactoryInstantiator.java:40)
at
org.objenesis.strategy.StdInstantiatorStrategy.newInstantiatorOf(StdInstantiatorStrategy.java:85)
at org.objenesis.ObjenesisBase.getInstantiatorOf(ObjenesisBase.java:90)
at org.objenesis.ObjenesisBase.newInstance(ObjenesisBase.java:73)
Comment #1 on issue 12 by henri.tremblay: Objenesis can't work on the
Google Apps Engine
http://code.google.com/p/objenesis/issues/detail?id=12
Objenesis is indeed using some restricted classes. I'm not sure we can
workaround it.
Some insider information (from Google App Engine team) would be really
helpful
Anyhow, we'll look into it.
Comment #2 on issue 12 by henri.tremblay: Objenesis can't work on the
Google Apps Engine
http://code.google.com/p/objenesis/issues/detail?id=12
(No comment was entered for this change.)
It also a problem for lamdaj