Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue where ReflectionListener could not access private methods #98

Merged
merged 1 commit into from
Jul 5, 2015

Conversation

antag99
Copy link
Contributor

@antag99 antag99 commented Jul 4, 2015

ReflectionListener can currently not access non-visible methods, including public methods declared in anonymous inner classes. This pull request fixes that problem by inserting a call to Method.setAccessible(true) after retrieving the method.

NathanSweet added a commit that referenced this pull request Jul 5, 2015
Fix issue where ReflectionListener could not access private methods
@NathanSweet NathanSweet merged commit b609cb4 into EsotericSoftware:master Jul 5, 2015
@antag99 antag99 deleted the fix-accessibility branch July 5, 2015 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants