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

Issue 110095: Fixing eagerSingleton initialization issue (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 2 months ago by Aragos
Modified:
16 years, 1 month ago
CC:
google-gin_googlegroups.com
Base URL:
http://google-gin.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixed creator/getter issue #

Total comments: 1

Patch Set 3 : Tests and constructor initialization #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -9 lines) Patch
src/com/google/gwt/inject/rebind/GinjectorOutputter.java View 1 2 3 chunks +3 lines, -9 lines 1 comment Download
test/com/google/gwt/inject/GinClientTestSuite.java View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
test/com/google/gwt/inject/client/eager/EagerGinModule.java View 1 chunk +27 lines, -0 lines 0 comments Download
test/com/google/gwt/inject/client/eager/EagerGinjector.java View 1 chunk +25 lines, -0 lines 0 comments Download
test/com/google/gwt/inject/client/eager/EagerSingletonTest.java View 1 2 1 chunk +43 lines, -0 lines 0 comments Download
test/com/google/gwt/inject/client/eager/MyEagerSingleton.java View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
test/com/google/gwt/inject/client/eager/OtherEagerSingleton.java View 1 2 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 7
Aragos
I think I finally found the issue with eager singletons that so many people reported ...
16 years, 2 months ago (2009-08-27 17:03:48 UTC) #1
Aragos
On 2009/08/27 17:03:48, Aragos wrote: > I think I finally found the issue with eager ...
16 years, 1 month ago (2009-09-08 22:37:34 UTC) #2
Brian Stoler
Thanks for jumping on this! http://codereview.appspot.com/110095/diff/1/8 File src/com/google/gwt/inject/rebind/GinjectorOutputter.java (right): http://codereview.appspot.com/110095/diff/1/8#newcode188 Line 188: writer.println("private " + ...
16 years, 1 month ago (2009-09-15 18:10:46 UTC) #3
Aragos
I'll send in a new patch set with with some additional tests in later today. ...
16 years, 1 month ago (2009-09-15 18:25:29 UTC) #4
Brian Stoler
This works but I think the other way may be better. And tests for this ...
16 years, 1 month ago (2009-09-15 20:22:42 UTC) #5
Aragos
16 years, 1 month ago (2009-09-15 21:46:00 UTC) #6
Brian Stoler
16 years, 1 month ago (2009-09-15 21:53:52 UTC) #7
LGTM

Thanks for all the quick followup!

http://codereview.appspot.com/110095/diff/2014/3011
File src/com/google/gwt/inject/rebind/GinjectorOutputter.java (right):

http://codereview.appspot.com/110095/diff/2014/3011#newcode182
Line 182: case SINGLETON:
// Intentionally fall through
Sign in to reply to this message.

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