Thursday, August 29, 2013

Re: is code using DateTimeFormat not testable?

Ithink there is a bug in The DateTimeFormat GWT version 2.5.1:

I use the DateTimeFormat from the shared package. As far as I know, classes from the shared package can be used at client and at serverside. But the method

  private static DateTimeFormatInfo getDefaultDateTimeFormatInfo() {
    // MUSTFIX(jat): implement
    return LocaleInfo.getCurrentLocale().getDateTimeFormatInfo();

uses LocaleInfo from the client-package. if I use the GWTMockutilities I run into a NullPointerexception

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment