You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2017/04/07 13:31:01 UTC
[18/50] [abbrv] groovy git commit: GROOVY-6792: ClassFormatError if a
method has dots within its name (fix impact for tests)
GROOVY-6792: ClassFormatError if a method has dots within its name (fix impact for tests)
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/46a47936
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/46a47936
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/46a47936
Branch: refs/heads/parrot
Commit: 46a47936b9d595984c1d79e552e3ac3d686043cc
Parents: 800205d
Author: paulk <pa...@asert.com.au>
Authored: Tue Mar 14 22:32:24 2017 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Tue Mar 14 22:32:24 2017 +1000
----------------------------------------------------------------------
security/groovy.policy | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/46a47936/security/groovy.policy
----------------------------------------------------------------------
diff --git a/security/groovy.policy b/security/groovy.policy
index 9dc92a7..848de08 100644
--- a/security/groovy.policy
+++ b/security/groovy.policy
@@ -192,6 +192,7 @@ grant signedBy "Groovy" {
grant codeBase "file:${user.dir}/src/test/groovy/bugs/BadScriptNameBug.groovy" {
permission java.lang.RuntimePermission "createClassLoader";
+ permission java.util.PropertyPermission "groovy.compiler.strictNames", "read";
};
grant codeBase "file:${user.dir}/src/test/groovy/ClosureMethodTest.groovy" {
@@ -213,6 +214,7 @@ grant codeBase "file:${user.dir}/src/test/groovy/bugs/ConstructorBug.groovy" {
// Required because GroovyCodeSource calls to File#getCanonicalPath (at least on the Windows FileSystem)
permission java.util.PropertyPermission "user.dir", "read";
+ permission java.util.PropertyPermission "groovy.compiler.strictNames", "read";
permission java.io.FilePermission "src${/}test${/}groovy${/}bugs${/}TestBase.groovy", "read";
permission java.io.FilePermission "src${/}test${/}groovy${/}bugs${/}TestDerived.groovy", "read";