Can't create custom JSON encode/decode for java.sql.Timestamp #175

sykesd opened this Issue Jan 23, 2014 · 1 comment

2 participants


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment