84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
我想使用sun.misc.Unsafe这个类,但是发现androidstudio引用的jdk里却没有sun.misc这个包是怎么回事?androidstudio的截图如下:
代码中提示了红色:
但是在eclipse中却有这个包:
我想在AS引用这个类,应该怎么办?有知道的吗?
认证0级讲师
Because packages starting with sun do not belong to the J2SE specificationIt is Sun’s internal implementation
Because packages starting with sun do not belong to the J2SE specification
It is Sun’s internal implementation