String result= (String) AccessController.doPrivileged(new PrivilegedAction() {
public Object run() {
//do something
return something;
}
});
参考:
http://blog.csdn.net/teamlet/article/details/1809165
http://www.blogjava.net/DLevin/archive/2012/11/02/390637.html
http://blog.csdn.net/zhang__jiayu/article/details/25654867
java编程代码片段
回复删除数组数组