/
githubmirror
/
jdk22
Обзор
Документация
Войти
/
githubmirror
/
jdk22
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/jdk/java/lang/invoke/getclassloader.policy
10 строк
305 B
Mandy Chung
8229785: MethodType::fromMethodDescriptorString should require security permission if loader is null
10 сен 2019, 20:35
10 сен 2019, 20:35
5d397ee
Код
Авторство
О чём код?
/* * Security policy used by the FindClassSecurityManager and * MethodTypeSecurityManager test. * Must allow file reads so that jtreg itself can run, and getting class loaders. */ grant { permission java.io.FilePermission "*", "read"; permission java.lang.RuntimePermission "getClassLoader"; };