ExceptionWrapper still needs to exist to force 'cause' and 'stackTrace'
to be transmitted.  By default, those fields are transient in our JRE.



http://gwt-code-reviews.appspot.com/870802/diff/1/3
File user/src/com/google/gwt/junit/client/impl/ExceptionWrapper.java
(right):

http://gwt-code-reviews.appspot.com/870802/diff/1/3#newcode26
user/src/com/google/gwt/junit/client/impl/ExceptionWrapper.java:26: *
Stand-in for the non-serializable {...@link Throwable#getCause()}.
Throwable is, but in our JRE, Throwable's cause is marked 'transient' at
the moment.

http://gwt-code-reviews.appspot.com/870802/diff/1/3#newcode44
user/src/com/google/gwt/junit/client/impl/ExceptionWrapper.java:44:
private transient boolean exceptionIsInitialized;
will fix, isExceptionInitialized sounds good.

http://gwt-code-reviews.appspot.com/870802/show

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

Reply via email to