Fixes JavaScriptException's JUnit integration; serialized exceptions were showing up with empty messages, because getName() and getMessage() would reinitialize them.

Review by: bobv (TBR)

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@3457 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/core/client/JavaScriptException.java b/user/src/com/google/gwt/core/client/JavaScriptException.java
index b2005e5..b4e45d7 100644
--- a/user/src/com/google/gwt/core/client/JavaScriptException.java
+++ b/user/src/com/google/gwt/core/client/JavaScriptException.java
@@ -115,8 +115,7 @@
    */
   protected JavaScriptException(String message) {
     super(message);
-    this.name = null;
-    this.description = message;
+    this.message = this.description = message;
     this.e = null;
   }
 
@@ -125,7 +124,7 @@
    * <code>null</code>.
    */
   public String getDescription() {
-    if (description == null) {
+    if (message == null) {
       init();
     }
     return description;
@@ -151,7 +150,7 @@
    * <code>null</code>.
    */
   public String getName() {
-    if (name == null) {
+    if (message == null) {
       init();
     }
     return name;