Class.h (_getDeclaredMethod): Declare.
* java/lang/Class.h (_getDeclaredMethod): Declare. (_getMethod): Now private. * java/lang/natClass.cc (_getDeclaredMethod): Renamed from getDeclaredMethod. Now returns NULL on failure. * java/lang/Class.java (_getDeclaredMethod): Declare. (getDeclaredMethod): No longer native; implements access checks. From-SVN: r56772
This commit is contained in:
parent
57016b4723
commit
f470196114
4 changed files with 40 additions and 8 deletions
|
@ -160,6 +160,9 @@ private:
|
|||
java::lang::reflect::Method *getPrivateMethod (jstring, JArray<jclass> *);
|
||||
java::security::ProtectionDomain *getProtectionDomain0 ();
|
||||
|
||||
java::lang::reflect::Method *_getMethod (jstring, JArray<jclass> *);
|
||||
java::lang::reflect::Method *_getDeclaredMethod (jstring, JArray<jclass> *);
|
||||
|
||||
public:
|
||||
JArray<java::lang::reflect::Field *> *getFields (void);
|
||||
|
||||
|
@ -167,7 +170,6 @@ public:
|
|||
|
||||
void getSignature (java::lang::StringBuffer *buffer);
|
||||
static jstring getSignature (JArray<jclass> *, jboolean is_constructor);
|
||||
java::lang::reflect::Method *_getMethod (jstring, JArray<jclass> *);
|
||||
JArray<java::lang::reflect::Method *> *getMethods (void);
|
||||
|
||||
inline jint getModifiers (void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue