Closed GoogleCodeExporter closed 8 years ago
Stephen,
Thanks for submitting this request. Quick question, what is the purpose (and
type) of
"asType"?
Thanks,
-Alex
Original comment by Alex.Rui...@gmail.com
on 8 Jan 2009 at 2:23
You need 'asType' to keep generics happy. The implementation is something like:
return getClass().getClassLoader().loadClass(className).asSubclass(asType);
Original comment by jodastep...@gmail.com
on 8 Jan 2009 at 2:27
Thanks Stephen, sorry I missed that :D
-Alex
Original comment by Alex.Rui...@gmail.com
on 8 Jan 2009 at 3:15
Original comment by Alex.Rui...@gmail.com
on 24 Jan 2009 at 7:09
Stephen, you can find the changes related to this task in r2242 (
http://code.google.com/p/fest/source/detail?r=2242 ).
Please feel free to review them. Feedback is always welcome! :)
Many thanks for suggesting this useful feature.
Cheers,
-Alex
Original comment by Alex.Rui...@gmail.com
on 25 Jan 2009 at 2:25
Thanks for implementing this. You may want to provide a way to specify the class
loader as part of the API. This causes lots of headaches in app servers, such
that
you may not be able to find a suitable default to use.
Original comment by jodastep...@gmail.com
on 28 Jan 2009 at 1:40
True, I'll add that!
Thanks!
-Alex
Original comment by Alex.Rui...@gmail.com
on 28 Jan 2009 at 1:42
Thanks Stephen for the advice...the API is a lot better now. You can find the
changes
made at http://code.google.com/p/fest/source/detail?r=2255 (r2255.) Please
ignore the
StaticInnerClass* stuff, that was accidentally checked-in.
Thanks,
-Alex
Original comment by Alex.Rui...@gmail.com
on 29 Jan 2009 at 6:50
Original issue reported on code.google.com by
jodastep...@gmail.com
on 8 Jan 2009 at 11:15