diff options
author | Tom Tromey <tromey@redhat.com> | 2006-05-24 17:21:52 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2006-05-24 17:21:52 +0000 |
commit | 5aca4c41f72573edb4c22736ac46ff3abf7d625a (patch) | |
tree | 146a4086fddb5d1c805267e25f1a64634a5ae1a9 /gcc/java/jcf.h | |
parent | f32f60c997d57ba70a977804cdfb07068557033f (diff) | |
download | gcc-5aca4c41f72573edb4c22736ac46ff3abf7d625a.zip gcc-5aca4c41f72573edb4c22736ac46ff3abf7d625a.tar.gz gcc-5aca4c41f72573edb4c22736ac46ff3abf7d625a.tar.bz2 |
re PR libgcj/27729 (Field, Method and Constructor need isSynthetic() implemetation)
gcc/java:
PR libgcj/27729:
* jcf.h (ACC_INVISIBLE): Changed value.
libjava:
PR libgcj/27729:
* java/lang/reflect/natField.cc (getAddr): Added parens.
* java/lang/reflect/natConstructor.cc (getModifiersInternal):
Renamed. Don't mask flags.
* java/lang/reflect/Constructor.java (CONSTRUCTOR_MODIFIERS): New
constant.
(getModifiersInternal): Renamed.
(getModifiers): Rewrote.
(isSynthetic, isVarArgs): New methods.
(hashCode): Rewrote.
(addTypeParameters, toGenericString): New methods.
(getTypeParameters): Rewrote.
(getSignature): New method.
(getGenericParameterTypes, getGenericExceptionTypes): Likewise.
* java/lang/reflect/natMethod.cc (getModifiersInternal):
Renamed. Don't mask flags.
* java/lang/reflect/natField.cc (getModifiersInternal): Renamed.
Don't mask flags.
* java/lang/reflect/Modifier.java (BRIDGE, VARARGS, SYNTHETIC,
ENUM): New constants.
(INVISIBLE): Changed value.
* java/lang/reflect/Method.java: Mostly merged with Classpath.
(getModifiersInternal): Renamed.
(getModifiers): Rewrote.
(isBridge, isSynthetic, isVarArgs): New methods.
(toGenericString): Likewise.
(getTypeParameters): Likewise.
(getSignature): Likewise.
(getGenericExceptionTypes, getGenericParameterTypes,
getGenericReturnType): Likewise.
(METHOD_MODIFIERS): New constant.
* java/lang/reflect/Field.java: Mostly merged with Classpath.
Added javadoc everywhere.
(getModifiersInternal): Renamed.
(getModifiers, isSynthetic, isEnumConstant): Rewrote.
(toGenericString): New method.
(getGenericType, getSignature): Likewise.
(FIELD_MODIFIERS): New constant.
From-SVN: r114046
Diffstat (limited to 'gcc/java/jcf.h')
-rw-r--r-- | gcc/java/jcf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/java/jcf.h b/gcc/java/jcf.h index 87c7a6e..9c6bc8e 100644 --- a/gcc/java/jcf.h +++ b/gcc/java/jcf.h @@ -1,5 +1,5 @@ /* Utility macros to read Java(TM) .class files and byte codes. - Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006 Free Software Foundation, Inc. This file is part of GCC. @@ -231,8 +231,8 @@ typedef struct JCF GTY(()) { #define ACC_ABSTRACT 0x0400 #define ACC_STRICT 0x0800 /* "Invisible" refers to Miranda methods inserted into an abstract - #class. It is also used in the runtime. */ -#define ACC_INVISIBLE 0x1000 + class. It is also used in the runtime. */ +#define ACC_INVISIBLE 0x8000 #define ACC_VISIBILITY (ACC_PUBLIC | ACC_PRIVATE | ACC_PROTECTED) |