This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

Re: java/4775

[Get raw message]

Bryce McKinlay writes:

> I'm curious why the second part of this patch is neccessary

Last time I checked (some time ago, I'd have to re-check,) proper
finals initialization is carried out by checking that at least a ctor
in the chain of call will initialize a final properly. So it's faster
and prevents things from breaking when regular non static methods are
being found invoked in ctor bodies...

./A


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]