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 2019/04/19 01:43:56 UTC
[groovy] 15/17: fix unintended illegal access
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_2_5_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 4bc809d9a101232c1300bd0aa74fcf84314258ce
Author: Paul King <pa...@asert.com.au>
AuthorDate: Thu Apr 18 23:56:42 2019 +1000
fix unintended illegal access
---
src/test/groovy/bugs/Groovy3464Bug.groovy | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/test/groovy/bugs/Groovy3464Bug.groovy b/src/test/groovy/bugs/Groovy3464Bug.groovy
index 1171285..83ca9bf 100644
--- a/src/test/groovy/bugs/Groovy3464Bug.groovy
+++ b/src/test/groovy/bugs/Groovy3464Bug.groovy
@@ -40,8 +40,8 @@ class Groovy3464Bug extends GroovyTestCase {
jointCompilationOptions = [stubDir: createTempDir()]
}
- def groovyFile = new File('GroovyThing.groovy', config.targetDirectory)
- def javaFile = new File('JavaThing.java', config.targetDirectory)
+ def groovyFile = new File(config.targetDirectory, 'GroovyThing.groovy')
+ def javaFile = new File(config.targetDirectory, 'JavaThing.java')
groovyFile << '''
class GroovyThing {
@@ -110,4 +110,3 @@ class Groovy3464Bug extends GroovyTestCase {
return tempDirectory
}
}
-