84669 personnes étudient
152542 personnes étudient
20005 personnes étudient
5487 personnes étudient
7821 personnes étudient
359900 personnes étudient
3350 personnes étudient
180660 personnes étudient
48569 personnes étudient
18603 personnes étudient
40936 personnes étudient
1549 personnes étudient
1183 personnes étudient
32909 personnes étudient
我想使用sun.misc.Unsafe这个类,但是发现androidstudio引用的jdk里却没有sun.misc这个包是怎么回事?androidstudio的截图如下:
代码中提示了红色:
但是在eclipse中却有这个包:
我想在AS引用这个类,应该怎么办?有知道的吗?
认证0级讲师
因为sun开头的包不属于J2SE规范是Sun公司的内部实现
因为sun开头的包不属于J2SE规范
是Sun公司的内部实现