Forgot to say that class Builder is not a class I made, its:
com.google.web.bindery.requestfactory.vm.impl.Deobfuscator.Builder
Here is the code. This is where I get the first symptom that something
odd happened , given that in that new Instance() is where I think the
automatically generated code (the one of my first post) gets created (I
could be wrong here though) and it doesnt include anything about
ClassOtherDTO or ClassOtherProxy : (
public class Deobfuscator {
//...
public static class Builder {
public static Builder load(Class<?> clazz, ClassLoader
resolveClassesWith) {
Throwable ex;
try {
Class<?> found;
try {
// Used by the server
found = Class.forName(clazz.getName() + GENERATED_SUFFIX,
false, resolveClassesWith);
} catch (ClassNotFoundException ignored) {
// Used by JRE-only clients
found = Class.forName(clazz.getName() +
GENERATED_SUFFIX_LITE, false, resolveClassesWith);
}
Class<? extends Builder> builderClass =
found.asSubclass(Builder.class);
Builder builder = builderClass.newInstance();
return builder;
} catch (ClassNotFoundException e) {
throw new RuntimeException("The RequestFactory ValidationTool
must be run for the "
+ clazz.getCanonicalName() + " RequestFactory type");
} catch (InstantiationException e) {
ex = e;
} catch (IllegalAccessException e) {
ex = e;
}
throw new RuntimeException(ex);
}
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/HDDuUdVds8gJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.