Lines 776-780 in org/restlet/rebind/ClientProxyGenerator

    Constructor<SerializableTypeOracleBuilder> c = null;
        c = SerializableTypeOracleBuilder.class.getDeclaredConstructor(
                TreeLogger.class, PropertyOracle.class, TypeOracle.class);
        result = c.newInstance(getLogger(),
getContext().getPropertyOracle(),
                getTypeOracle());

assume there is a constructor for SerializableTypeOracleBuilder(TreeLogger
tl, PropertyOracle po, TypeOracle to).

That constructor has changed to  SerializableTypeOracleBuilder(TreeLogger
tl, GeneratorContext gc).


Probably changing it to

    Constructor<SerializableTypeOracleBuilder> c = null;
        c = SerializableTypeOracleBuilder.class.getDeclaredConstructor(
                TreeLogger.class, GeneratorContext.class);
        result = c.newInstance(getLogger(), getContext());

would fix that particular issue.




On Fri, Oct 31, 2014 at 4:48 AM, Koen Maes <[email protected]> wrote:

> Hi
>
> When trying to build my project with GWT 2.7, I run into issues with
> Restlet.
>
> I have opened an issue here
> https://github.com/restlet/restlet-framework-java/issues/965
>
> This is the stacktrace :
>
> java.lang.NoSuchMethodException: 
> com.google.gwt.user.rebind.rpc.SerializableTypeOracleBuilder.<init>(com.google.gwt.core.ext.TreeLogger,
>  com.google.gwt.core.ext.PropertyOracle, 
> com.google.gwt.core.ext.typeinfo.TypeOracle)
> at java.lang.Class.getConstructor0(Class.java:2892)
> at java.lang.Class.getDeclaredConstructor(Class.java:2058)
> at 
> org.restlet.rebind.ClientProxyGenerator.getSerializableTypeOracleBuilder2_2(ClientProxyGenerator.java:772)
> at 
> org.restlet.rebind.ClientProxyGenerator.generateSerializers(ClientProxyGenerator.java:572)
> at 
> org.restlet.rebind.ClientProxyGenerator.generateProxy(ClientProxyGenerator.java:500)
> at 
> org.restlet.rebind.ClientProxyGenerator.generate(ClientProxyGenerator.java:242)
> at 
> com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator
>
>
> Since I volunteered to help fix this (to have a fix included in the next
> release due in few weeks), I would greatly appreciated some pointers. I
> have little to no experience with generators in GWT, but I will try to take
> a deep dive into this.
> My questions ...
> Are there any breaking changes in the generators since 2.7 ?
> Is the implementation of Restlet depending on deprecated methods ?
> Any other suggestions ... ?
>
> thx!
> Koen
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Contributors" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit-contributors/71bb7c70-9877-4ff8-b459-13177140f4bb%40googlegroups.com
> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/71bb7c70-9877-4ff8-b459-13177140f4bb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAC7T7gmJQjUPMjrxpHcBepNzCD%3DsHmvQb%3D1kaOyfovpzPF6HqQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to