You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2017/03/14 12:54:53 UTC

[3/3] 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/35730b7f
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/35730b7f
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/35730b7f

Branch: refs/heads/GROOVY_2_4_X
Commit: 35730b7f7d885899fb3c568118547c1cf633121e
Parents: 6aedd57
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:54:30 2017 +1000

----------------------------------------------------------------------
 security/groovy.policy | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/35730b7f/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";