Rajeev noted that my initializer in About.java is an instance initializer,
not (as intended) a static one.  Things appear to work anyway because they
pull from about.txt and .html, but programmatic access would be
uninitialized....

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Index: dev/core/src/com/google/gwt/dev/About.java
===================================================================
--- dev/core/src/com/google/gwt/dev/About.java	(revision 3606)
+++ dev/core/src/com/google/gwt/dev/About.java	(working copy)
@@ -32,7 +32,7 @@
 
   public static String GWT_VERSION;
 
-  {
+  static {
     Class<? extends About> myClass = this.getClass();
     String propsPath = myClass.getName().replace('.', '/').concat(".properties");
     Properties props = new Properties();

Reply via email to