Try doing YourClass.class.getClassLoader().setDefaultAssertionStatus(true);
On Sat, Feb 26, 2011 at 10:48 PM, Leo Kuznetsov <[email protected]>wrote: > of course, I can do it on local host, but is the a way to do it via some > tag in e.g. appengine-web.xml? > I tried to put > static { > ClassLoader.getSystemClassLoader().setDefaultAssertionStatus(true); > } > but this does make servlet loading fail... (almost as expected). > > Any help would be appreciated. > > PS: It really helps to have asserts working in production environment. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > 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-appengine?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. 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-appengine?hl=en.
