This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/15363] New: Binary Compatibility: need special access control
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 May 2004 05:04:04 -0000
- Subject: [Bug libgcj/15363] New: Binary Compatibility: need special access control
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
For the BC ABI, we will either need to generate access$0 methods
like we do when generating .class files, or we will need to
have a special case in the access control checking for this
situation (these methods are made when an inner class accesses
a private method of a containing class).
I'd prefer we make a special case. All situations requiring
this occur for code in a single compilation unit, something
we can probably check easily at runtime.
(Note that we probably cannot assume that inner classes from
a given compilation will necessarily be those returned;
a malicious class loader might do something different.)
--
Summary: Binary Compatibility: need special access control
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tromey at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
OtherBugsDependingO 12725
nThis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15363