We have some existing model classes with java.sql.Timestamp fields on them that we would like to use without modification with Resty-GWT. This requires a custom encoder/decoder.
I was able to write one and have it be used by setting the org.fusesource.restygwt.restyjsonserializergenerator configuration parameter. However, the generated class gets created in package java.sql. which Java then refuses to load (in DevMode at least) throwing a SecurityException.
Would it be possible to detect that the generated code will end up in a protected package, and generate it in a different package?
Workaround has been added with #176