Closed GoogleCodeExporter closed 9 years ago
The socket is created in the constructor, so createSocket, which is intended to
be overridden in a subclass is also called from the base class constructor.
(I.e. createSocket will run before its instance becomes initialized.) A
protected constructor with an additional Socket parameter seems to be a simple
and safe solution.
Original comment by hontvari@flyordie.com
on 23 Mar 2011 at 1:02
Good point. I'd vote for making createSocket static rather than a constructor
parameter; though I would be fine with the later as long as the parameter is
also exposed in SmartClient's constructor as well (so that its easy to provide
the SSLSocket and to extends SmartClient.
Original comment by reidn...@gmail.com
on 23 Mar 2011 at 3:45
Fixed in r411. Please verify.
Original comment by hontvari@flyordie.com
on 28 Mar 2011 at 1:20
Sorry about the really long delay in verifying this but it is fixed (tested w/
3.1.6 release)
Original comment by reidn...@gmail.com
on 21 Jul 2011 at 2:57
Original comment by hontvari@flyordie.com
on 21 Jul 2011 at 3:07
Original issue reported on code.google.com by
reidn...@gmail.com
on 21 Mar 2011 at 8:01Attachments: