diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-01-05 16:35:20 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-01-05 16:35:20 +0000 |
commit | 95c6cc0ab5c348a6eaa5bb595d44f03d830c3863 (patch) | |
tree | daac5e5bddf454e798664add5ce18fea5a484326 /libjava/java/lang/Class.java | |
parent | c0029be5f7c89b85a5197c9ec8420e3de3137798 (diff) | |
download | gcc-95c6cc0ab5c348a6eaa5bb595d44f03d830c3863.zip gcc-95c6cc0ab5c348a6eaa5bb595d44f03d830c3863.tar.gz gcc-95c6cc0ab5c348a6eaa5bb595d44f03d830c3863.tar.bz2 |
Class.h (getSignature): Updated.
* java/lang/Class.h (getSignature): Updated.
* java/lang/Class.java (getSignature): Updated.
* java/lang/natClass.cc (getSignature): Added `is_constructor'
argument.
(getConstructor): Ensure constructor is public.
(_getConstructors): Check for public-ness of constructor when
`declared' is false, not when it is true.
From-SVN: r31241
Diffstat (limited to 'libjava/java/lang/Class.java')
-rw-r--r-- | libjava/java/lang/Class.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libjava/java/lang/Class.java b/libjava/java/lang/Class.java index a304e6c0..4c49cd9 100644 --- a/libjava/java/lang/Class.java +++ b/libjava/java/lang/Class.java @@ -89,7 +89,8 @@ public final class Class implements Serializable public native Class[] getInterfaces (); private final native void getSignature (StringBuffer buffer); - private static final native String getSignature (Class[] parameterTypes); + private static final native String getSignature (Class[] parameterTypes, + boolean is_construtor); public native Method getMethod (String methodName, Class[] parameterTypes) throws NoSuchMethodException, SecurityException; |