This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/20047] runtime 'protected' access checks
- From: "mckinlay at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jun 2006 11:07:44 -0000
- Subject: [Bug libgcj/20047] runtime 'protected' access checks
- References: <bug-20047-360@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from mckinlay at redhat dot com 2006-06-01 11:07 -------
This rule is mentioned in the last paragraph of JVMS, S 5.4.4:
http://java.sun.com/docs/books/vmspec/2nd-edition/html/ConstantPool.doc.html#75929
It is explicitly stated that this is checked during verification, unlike other
accessibility checks which are performed at link time.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20047