This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Bryce wrote:Thanks, guys. I've been trying to get someone to express an opinion one wayYup, I agree. Lightweights should be implemented entirely in the "generic" part of the code, not in the peer code.
or the other on this issue for some time. I look forward to getting the
lightweight components issue off my "pending" list.
I agree with all of what Bryce said: - lightweights should be generic - there should be no need to check for a null peer
Bryce wrote:I think that whenever get/set operations are available and not final, youDoes anyone have an idea on how much this matters in the real world?
are obliged to use them, even if you're not sure whether it matters in the
real world. If something is allowed, you've got to assume someone will do
it. When I'm subclassing Component in an application, I don't hesitate to
override whatever method I think will get the job done. Of course "get"
methods are kind of special that way, but if Sun says they're overridable,
so be it.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |