[Bug libgcj/20047] runtime 'protected' access checks

mckinlay at redhat dot com gcc-bugzilla@gcc.gnu.org
Thu Jun 1 11:07:00 GMT 2006



------- 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



More information about the Java-prs mailing list