Because of java.lang.IllegalAccessException - a thing which doesn't let you work with non-accessible fields, methods, etc,
you can't simply set the field without making it accessible, it will produce this exception.
That's why I added setAccessible().
This commit fixes #2.
Explanation:
Because of java.lang.IllegalAccessException - a thing which doesn't let you work with non-accessible fields, methods, etc, you can't simply set the field without making it accessible, it will produce this exception. That's why I added setAccessible().