[Bug libgcj/17013] gij vtable layout: hidden package-private method can be overridden
mckinlay at redhat dot com
gcc-bugzilla@gcc.gnu.org
Thu Aug 12 22:10:00 GMT 2004
------- Additional Comments From mckinlay at redhat dot com 2004-08-12 22:10 -------
_Jv_LayoutVTableMethods() needs to check that classes are in the same package
before allowing a pkg-private method to be overriden. vtable layout for BC-ABI
most likely has the same bug. There is a FIXME in the code for this:
// FIXME: Must check that we don't override:
// - Package-private method where superclass is in different package.
// - Final or less-accessible declaration in superclass (check binary
// spec, do we allocate new vtable entry or put throw node in vtable?)
// - Static or private method in superclass.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-08-12 22:10:24
date| |
Summary|gij vtable layout bug |gij vtable layout: hidden
| |package-private method can
| |be overridden
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17013
More information about the Java-prs
mailing list