| commit | a62e4e0214edd4c11418cfe176eb62907e379d50 | [log] [tgz] |
|---|---|---|
| author | rjrjr@google.com <rjrjr@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Wed Apr 21 00:26:34 2010 +0000 |
| committer | rjrjr@google.com <rjrjr@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Wed Apr 21 00:26:34 2010 +0000 |
| tree | 54c4c5b29a660d4f75a05a7c025d49008549a4ba | |
| parent | 95169a062aa43d7489d4500685a74ade5011bf23 [diff] |
Fixes compile fail on Sun JDK (was working fine in Eclipse, OpenJDK) git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@7954 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordJsoImpl.java b/bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordJsoImpl.java index 60af25e..0395a60 100644 --- a/bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordJsoImpl.java +++ b/bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordJsoImpl.java
@@ -71,7 +71,8 @@ } } - return get(property.getName()); + // Sun JDK compile fails without this cast + return (V) get(property.getName()); } public final native <T> T get(String propertyName) /*-{