标签: openjdk-11
尝试编译代码时出现以下错误:
错误
找不到sun.security.action.GetPropertyAction
代码
File tmpdir = new File(AccessController .doPrivileged(new GetPropertyAction("java.io.tmpdir")));