diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-05 16:35:20 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-05 16:35:20 +0000 |
commit | b3ca2511df594241fba47f4aadc7d381aafad5fb (patch) | |
tree | daac5e5bddf454e798664add5ce18fea5a484326 /libjava/java/lang/Class.java | |
parent | 931d05cc7bf69fe838f13211754ee0af75fb97a9 (diff) | |
download | ppe42-gcc-b3ca2511df594241fba47f4aadc7d381aafad5fb.tar.gz ppe42-gcc-b3ca2511df594241fba47f4aadc7d381aafad5fb.zip |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31241 138bc75d-0d04-0410-961f-82ee72b054a4
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 a304e6c0113..4c49cd93b35 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; |