Added a hack to confirm that the flaky RPCSuite failure is what we think it is. Review by: bobv (TBR) git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@5209 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/server/rpc/impl/SerializabilityUtil.java b/user/src/com/google/gwt/user/server/rpc/impl/SerializabilityUtil.java index 0eed41c..dacd3fc 100644 --- a/user/src/com/google/gwt/user/server/rpc/impl/SerializabilityUtil.java +++ b/user/src/com/google/gwt/user/server/rpc/impl/SerializabilityUtil.java
@@ -180,6 +180,13 @@ } if (containsCachedSerializerForClass(instanceType)) { // this class definitely has no custom serializer + /* + * HACK(scottb): temporary hack to confirm the flaky RPC test issue. + */ + if (instanceType.getName().equals("java.lang.StackTraceElement")) { + System.out.println("Confirmed race condition with StackTraceElement"); + System.err.println("Confirmed race condition with StackTraceElement"); + } return null; } // compute whether this class has a custom serializer