Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3187)

Issue 4276072: Reflection for generated classes (issue #137) (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 1 month ago by Aragos
Modified:
13 years, 1 month ago
Reviewers:
philippe.beaudoin
Base URL:
http://google-gin.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added catch for classcastexception #

Unified diffs Side-by-side diffs Delta from patch set Stats (+372 lines, -19 lines) Patch
M build.xml View 2 chunks +2 lines, -0 lines 0 comments Download
A src/com/google/gwt/inject/rebind/GinBridgeClassLoader.java View 1 1 chunk +138 lines, -0 lines 0 comments Download
M src/com/google/gwt/inject/rebind/GinjectorGenerator.java View 5 chunks +12 lines, -12 lines 0 comments Download
M src/com/google/gwt/inject/rebind/reflect/ReflectUtil.java View 2 chunks +4 lines, -4 lines 0 comments Download
M test/com/google/gwt/inject/GinClientTestSuite.java View 2 chunks +2 lines, -0 lines 0 comments Download
A test/com/google/gwt/inject/generated/GeneratedTest.gwt.xml View 1 chunk +26 lines, -0 lines 0 comments Download
A test/com/google/gwt/inject/generated/client/Framework.java View 1 chunk +22 lines, -0 lines 0 comments Download
A test/com/google/gwt/inject/generated/client/GeneratorTest.java View 1 chunk +50 lines, -0 lines 0 comments Download
A test/com/google/gwt/inject/generated/rebind/FrameworkGenerator.java View 1 chunk +110 lines, -0 lines 0 comments Download
M test/com/google/gwt/inject/rebind/reflect/ReflectUtilTest.java View 1 chunk +6 lines, -3 lines 0 comments Download

Messages

Total messages: 3
philippe.beaudoin
LGTM, one minor detail. Your GinBridgeClassLoader looks very useful to perform reflection on GWT-generated classes. ...
13 years, 1 month ago (2011-03-23 04:50:48 UTC) #1
Aragos
On 2011/03/23 04:50:48, philippe.beaudoin wrote: > LGTM, one minor detail. > > Your GinBridgeClassLoader looks ...
13 years, 1 month ago (2011-03-23 23:06:40 UTC) #2
Aragos
13 years, 1 month ago (2011-03-23 23:06:47 UTC) #3
http://codereview.appspot.com/4276072/diff/1/src/com/google/gwt/inject/rebind...
File src/com/google/gwt/inject/rebind/GinBridgeClassLoader.java (right):

http://codereview.appspot.com/4276072/diff/1/src/com/google/gwt/inject/rebind...
src/com/google/gwt/inject/rebind/GinBridgeClassLoader.java:120: throw new
FieldLoadException(e, fieldName, declaringType);
On 2011/03/23 04:50:48, philippe.beaudoin wrote:
> Should we also catch ClassCastException here? If case GWT changes their
private
> field types we would fail with a more obvious error.

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b