forbiddencodebase.gvy

来自「Groovy动态语言 运行在JVM中的动态语言 可以方便的处理业务逻辑变化大的业」· GVY 代码 · 共 7 行

GVY
7
字号
/* * Groovy script to be read as a file to test the file based codesource features of groovy security. * The file extension of .gvy is used to prevent this script from being treated as a groovy script by maven. */ new GroovyShell().evaluate("1+2", "forbiddenCodeBaseTest", "/groovy/security/forbiddenCodeBase");

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?