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]

[Bug java/9369] wrong bytecode generated for static inner class with private constructor


------- Additional Comments From tromey at gcc dot gnu dot org  2005-05-13 23:27 -------
This no longer fails due to a change that went in as part of the fix
for PR 8618.  In particular, we now emit the 'Inner' constructor as
package-private, not private.

This is kind of a slacker approach to implementing accessors.
For constructors and static methods it probably has the desired
effect without doing harm, though I haven't considered it in great
detail.  For ordinary methods it might be a problem due to overriding.

This PR should only be marked as "fixed" if there is another PR for the
case of accessors for methods and fields.  Even then it isn't entirely
clear if this is more hack or more fix.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9369


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