Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Accessing Private Methods

843829Jan 28 2006 — edited Jan 28 2006
Is it possible to access a private method of a class from native code? If it is possible , how can we achieve that. Well it violates OO but just wanted know if it is possible or not. Also, I find the GetMethodID returning zero when I try to get the ID of a private method.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2006
Added on Jan 28 2006
3 comments
674 views