jcf-write.c (get_access_flags): Return correct access flags for private and protected inner classes.
2002-08-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz> * jcf-write.c (get_access_flags): Return correct access flags for private and protected inner classes. From-SVN: r56146
This commit is contained in:
parent
b6ce26acc8
commit
097684ce62
@ -1,3 +1,8 @@
|
||||
2002-08-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
|
||||
|
||||
* jcf-write.c (get_access_flags): Return correct access flags for
|
||||
private and protected inner classes.
|
||||
|
||||
2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* java/Make-lang.in (java.mostlyclean): Remove coverage files.
|
||||
|
@ -683,6 +683,10 @@ get_access_flags (decl)
|
||||
flags |= ACC_INTERFACE;
|
||||
if (CLASS_STATIC (decl))
|
||||
flags |= ACC_STATIC;
|
||||
if (CLASS_PRIVATE (decl))
|
||||
flags |= ACC_PRIVATE;
|
||||
if (CLASS_PROTECTED (decl))
|
||||
flags |= ACC_PROTECTED;
|
||||
if (ANONYMOUS_CLASS_P (TREE_TYPE (decl))
|
||||
|| LOCAL_CLASS_P (TREE_TYPE (decl)))
|
||||
flags |= ACC_PRIVATE;
|
||||
|
Loading…
Reference in New Issue
Block a user