groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [groovy] 01/03: fix unintended illegal access
Date Thu, 18 Apr 2019 14:48:11 GMT
This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 0c9cb55d3e8021cead42a014f1c48778a1bb82b5
Author: Paul King <paulk@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
     }
 }
-


Mime
View raw message