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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user