From 95c6cc0ab5c348a6eaa5bb595d44f03d830c3863 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 5 Jan 2000 16:35:20 +0000 Subject: 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 --- libjava/java/lang/Class.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libjava/java/lang/Class.java') 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; -- cgit v1.2.3