mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix code
This commit is contained in:
parent
c105ebf740
commit
56aed3ba3a
@ -11,7 +11,8 @@ import java.lang.reflect.Method;
|
||||
* {@link MethodHandles.Lookup}工厂,用于创建{@link MethodHandles.Lookup}对象<br>
|
||||
* jdk8中如果直接调用{@link MethodHandles#lookup()}获取到的{@link MethodHandles.Lookup}在调用findSpecial和unreflectSpecial
|
||||
* 时会出现权限不够问题,抛出"no private access for invokespecial"异常,因此针对JDK8及JDK9+分别封装lookup方法。
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* 参考:
|
||||
* <p><a href="https://blog.csdn.net/u013202238/article/details/108687086">https://blog.csdn.net/u013202238/article/details/108687086</a></p>
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user