HelenBlack / lambdaj

Automatically exported from code.google.com/p/lambdaj
Apache License 2.0
0 stars 0 forks source link

Lambdaj 2.4 can't work fine on the Google Apps Engine #112

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Below issue say that Lambdja 2.3.2 will work on GAE.
https://code.google.com/p/lambdaj/issues/detail?can=2&q=&colspec=ID%20Type%20Sta
tus%20Priority%20Milestone%20Owner%20Summary&groupby=&sort=&id=43

But I try Lambdja 2.4 & 2.3.2 ,and still get the same exception message :

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>(SunReflec
tionFactoryInstantiator.java:40)
at 
org.objenesis.strategy.StdInstantiatorStrategy.newInstantiatorOf(StdInstantiator
Strategy.java:85)
at org.objenesis.ObjenesisBase.getInstantiatorOf(ObjenesisBase.java:90)
at org.objenesis.ObjenesisBase.newInstance(ObjenesisBase.java:73)
at ch.lambdaj.proxy.ClassImposterizer.createProxy(ClassImposterizer.java:134)
at ch.lambdaj.proxy.ClassImposterizer.imposterise(ClassImposterizer.java:101)
at ch.lambdaj.proxy.ProxyUtil.createArgumentProxy(ProxyUtil.java:60)
at 
ch.lambdaj.function.argument.ArgumentsFactory.createPlaceholder(ArgumentsFactory
.java:52)
at 
ch.lambdaj.function.argument.ArgumentsFactory.registerNewArgument(ArgumentsFacto
ry.java:45)
at 
ch.lambdaj.function.argument.ArgumentsFactory.createArgument(ArgumentsFactory.ja
va:39)
at 
ch.lambdaj.function.argument.ArgumentsFactory.createArgument(ArgumentsFactory.ja
va:31)
at ch.lambdaj.Lambda.on(Lambda.java:43)
...

Original issue reported on code.google.com by thinlen2...@gmail.com on 16 Aug 2013 at 9:36