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:
parent
c0029be5f7
commit
95c6cc0ab5
4 changed files with 24 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue