title: Using GWT's NumberFormat class in the shared package
body: <p>In my GWT project my service returns an object of type <em>Shield</em> that I have defined. As the <em>Shield</em> type is being used by both the client and server, I have put the class definition in the shared package.</p>
  
  <p>The <em>Shield</em> class uses the <em>com.google.gwt.i18n.client.NumberFormat</em> class (a replacement for, amongst others, <em>java.text.DecimalFormat</em>).</p>
  
  <p>The issue is that <em>NumberFormat</em> can't be put in the shared package as it creates an instance of <em>LocaleInfo</em> using GWT.create().</p>
  
  <p>Is there any way I can use <em>com.google.gwt.i18n.client.NumberFormat</em> from within the shared package?</p>