Java: Fix PR 15715 - Interface access flags

Bryce McKinlay mckinlay@redhat.com
Sun Jun 27 06:31:00 GMT 2004


This patch fixes PR java/15715, setting the correct access modifiers for 
both inner and top-level interfaces. It also adds code to differentiate 
between the modifiers field in a classfile header and the access flags 
set as part of the "InnerClasses" attribute. Only a restricted set of 
flags are valid in the access_flags field in the top level header - see 
the JVM Spec section 4.1:

http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#74353

No testsuite regressions. OK to commit?

Bryce


-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcj-interface-flags.patch
Type: text/x-patch
Size: 3283 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040627/431da6b0/attachment.bin>


More information about the Java-patches mailing list