[ 
https://issues.apache.org/jira/browse/GROOVY-9646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18149354#comment-18149354
 ] 

James Daugherty commented on GROOVY-9646:
-----------------------------------------

This issue was reported for the {{FileSystemProvider}}s it loads. The same 
early initialisation also costs start-up time, and still does on 6.0.0 and on 
today's {{GROOVY_6_0_X}} and {{master}}. It was found while profiling the 
Apache Grails command line. Below are a reproducer, numbers, the current code 
path and a patch that was measured.

h3. What happens

The first value that a program formats through the Groovy runtime ({{println 
x}}, {{"$x"}}, {{list.toString()}}, {{x as String}}) initialises 
{{org.codehaus.groovy.runtime.FormatHelper}}. Its static initialiser reads 
{{ResolveVisitor.DEFAULT_IMPORTS}}, which initialises the compiler class 
{{org.codehaus.groovy.control.ResolveVisitor}}, whose static initialiser walks 
every file below {{java/}} in {{jrt:/modules/java.base}} and every file below 
{{groovy/}} in the Groovy jar. The program compiles nothing, and 
{{FormatHelper}} uses only the seven package names, not the result of the walk.

Since GROOVY-10412 (4.0.0-rc-2) the read is in {{FormatHelper}} and no longer 
in {{InvokerHelper}}, so the trigger is the first formatted value and not the 
first closure. Everything else in the analysis of 2022-03-04 on this issue 
still holds.

h3. Steps to reproduce

{noformat}
git clone https://github.com/jdaugherty/groovy-formathelper-startup-repro
cd groovy-formathelper-startup-repro
./run.sh            # needs a JDK 17+ and curl; downloads the Groovy jars from 
Maven Central
{noformat}

The script compiles plain Java programs against {{groovy-<version>.jar}} (no 
Groovy source, so no compiler start in the measurement) and starts each in a 
fresh JVM:

* {{Control}}: one dynamic call to start the runtime 
({{InvokerHelper.invokeMethod(list, "size", null)}}), then 
{{String.valueOf(list)}};
* {{Trigger}}: the same, then {{FormatHelper.toString(list)}};
* {{ResolveVisitorInit}}: the same as {{Control}}, then only 
{{Class.forName("org.codehaus.groovy.control.ResolveVisitor")}}.

It prints the wall times, the class counts from {{-Xlog:class+load}}, and stack 
samples of the first format. Without the repository, this is enough to see it:

{code:java}
import org.codehaus.groovy.runtime.FormatHelper;

public class Trigger {
    public static void main(String[] args) {
        long t0 = System.nanoTime();
        String s = FormatHelper.toString(java.util.Arrays.asList(1, 2, 3));
        System.out.println(s + " " + (System.nanoTime() - t0) / 1_000_000 + " 
ms");
    }
}
{code}

h3. Expected

Formatting a value does not initialise compiler classes and does not open the 
{{jrt:}} and zip file systems. The first {{FormatHelper.toString}} costs what 
loading {{FormatHelper}} and formatting cost (about 10 ms in the measurement 
below).

h3. Actual

Measured with the reproducer on an idle Apple M4 Max, macOS 27.2, OpenJDK 
21.0.12, default JVM flags, 31 fresh JVMs per program. Wall time of the whole 
JVM in ms, median (minimum to maximum); the full output is in the README of the 
repository.

||Groovy||{{Control}}||{{Trigger}}||{{Trigger}} − 
{{Control}}||{{ResolveVisitorInit}} − {{Control}}||
|4.0.33|134.5 (122.4 to 137.0)|189.2 (186.6 to 198.6)|\+54.7|\+54.0|
|5.0.8|127.4 (123.8 to 140.8)|185.9 (182.5 to 190.7)|\+58.5|\+57.0|
|6.0.0|128.0 (125.7 to 142.4)|198.4 (195.7 to 201.3)|\+70.4|\+59.9|
|6.0.1-SNAPSHOT (20261122.090501-73)|144.6 (130.0 to 177.6)|207.6 (201.7 to 
338.0)|\+63.0|\+52.1|
|7.0.0-SNAPSHOT (20261122.171747-304)|146.0 (132.3 to 154.5)|206.8 (202.5 to 
212.4)|\+60.8|\+50.6|

The first formatted value costs the process 55 to 70 ms on a start of 127 to 
146 ms, and 50 to 60 ms of that is the initialisation of {{ResolveVisitor}}. 
Inside the JVM, on 6.0.0, the first {{FormatHelper.toString(list)}} takes 58.2 
ms (median of 21 fresh JVMs, minimum 56.6), the second 10 µs. Every version 
does it: this is not a regression of Groovy 6, and it is not fixed on either 
branch.

{{-Xlog:class+load}} on 6.0.0: {{Control}} loads 1705 classes, {{Trigger}} 
2111. The 406 more include 12 of {{jdk.internal.jrtfs.\*}}, 30 of 
{{jdk.nio.zipfs.\*}}, 8 more of {{jdk.internal.jimage.\*}}, {{ClassFinder}} 
with its two nested classes, and {{ResolveVisitor}} with 15 other classes of 
{{org.codehaus.groovy.control}}.

A stack sample of the first format on 6.0.0:

{noformat}
at java.base/jdk.internal.jrtfs.SystemImage.<clinit>(SystemImage.java:92)
at java.base/jdk.internal.jrtfs.JrtFileSystem.<init>(JrtFileSystem.java:90)
at 
java.base/jdk.internal.jrtfs.JrtFileSystemProvider.newFileSystem(JrtFileSystemProvider.java:109)
at java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:339)
at java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:288)
at 
org.codehaus.groovy.vmplugin.v9.ClassFinder.maybeNewFileSystem(ClassFinder.java:220)
at org.codehaus.groovy.vmplugin.v9.ClassFinder.find(ClassFinder.java:151)
at org.codehaus.groovy.vmplugin.v9.ClassFinder.find(ClassFinder.java:127)
at org.codehaus.groovy.vmplugin.v9.Java9.doFindClasses(Java9.java:148)
at org.codehaus.groovy.vmplugin.v9.Java9.getDefaultImportClasses(Java9.java:135)
at org.codehaus.groovy.control.ResolveVisitor.<clinit>(ResolveVisitor.java:730)
at org.codehaus.groovy.runtime.FormatHelper.<clinit>(FormatHelper.java:89)
at StackSample.main(StackSample.java:69)
{noformat}

(The six JDK frames above {{SystemImage.<clinit>}} are left out.) Of 91 samples 
taken during that call, 76 have {{FormatHelper.<clinit>}} on the stack, 70 
{{ResolveVisitor.<clinit>}}, 70 {{Java9.getDefaultImportClasses}} and 60 
{{ClassFinder.find}}; 28 are in the zip file system of the Groovy jar and 15 in 
the {{jrt:}} file system.

h3. Analysis (line numbers at the tag {{GROOVY_6_0_0}}, commit {{bc6b3cfd9f}})

*1.* {{src/main/java/org/codehaus/groovy/runtime/FormatHelper.java}}, lines 
85-94 
([link|https://github.com/apache/groovy/blob/GROOVY_6_0_0/src/main/java/org/codehaus/groovy/runtime/FormatHelper.java#L85-L94]):

{code:java}
static {
    for (String pkgName : ResolveVisitor.DEFAULT_IMPORTS) {                     
  // line 89
        FormatHelper.DEFAULT_IMPORT_PKGS.add(pkgName.substring(0, 
pkgName.length() - 1));
    }
    FormatHelper.DEFAULT_IMPORT_CLASSES.add("java.math.BigDecimal");
    FormatHelper.DEFAULT_IMPORT_CLASSES.add("java.math.BigInteger");
}
{code}

The two sets are read only by {{typeName(Object)}} (lines 461-466), which 
shortens {{java.lang.Integer}} to {{Integer}} in {{toTypeString}} (the argument 
list of a {{MissingMethodException}}), in the fallback for an object whose 
{{toString()}} throws (line 331) and in one message of {{InvokerHelper}} (line 
357).

*2.* {{src/main/java/org/codehaus/groovy/control/ResolveVisitor.java}}, line 
106:

{code:java}
public static final String[] DEFAULT_IMPORTS = {"java.lang.", "java.util.", 
"java.io.", "java.net.", "java.time.", "groovy.lang.", "groovy.util."};
{code}

An array is not a constant expression, so the read at {{FormatHelper.java:89}} 
initialises {{ResolveVisitor}}. Lines 728-731 
([link|https://github.com/apache/groovy/blob/GROOVY_6_0_0/src/main/java/org/codehaus/groovy/control/ResolveVisitor.java#L728-L731]):

{code:java}
private static final Map<String, Set<String>> 
DEFAULT_IMPORT_CLASS_AND_PACKAGES_CACHE = new UnlimitedConcurrentCache<>();
static {
    
DEFAULT_IMPORT_CLASS_AND_PACKAGES_CACHE.putAll(VMPluginFactory.getPlugin().getDefaultImportClasses(DEFAULT_IMPORTS));
}
{code}

The only reader of that cache is {{resolveFromDefaultImports}} (lines 698-726 
and 755), that is, the compiler. The scan was added there by GROOVY-9408 
(3.0.2).

*3.* {{src/main/java/org/codehaus/groovy/vmplugin/v9/Java9.java}}, lines 
105-145 
([link|https://github.com/apache/groovy/blob/GROOVY_6_0_0/src/main/java/org/codehaus/groovy/vmplugin/v9/Java9.java#L105-L145]):
 {{getDefaultImportClasses}} creates a {{GroovyClassLoader}}, locates the jar 
of {{groovy.lang.GroovySystem}} and calls {{doFindClasses}} for it (line 126) 
and for {{jrt:/modules/java.base/}} (line 135).

*4.* {{src/main/java/org/codehaus/groovy/vmplugin/v9/ClassFinder.java}}, lines 
140-209 
([link|https://github.com/apache/groovy/blob/GROOVY_6_0_0/src/main/java/org/codehaus/groovy/vmplugin/v9/ClassFinder.java#L140-L209]):
 {{FileSystems.newFileSystem(uri, ...)}} (line 220, called from line 151) and 
{{Files.walkFileTree}} (line 152) with a regular-expression split per file. 
With {{groovy-6.0.0.jar}} on JDK 21.0.12 the walks visit 518 files below 
{{/groovy}} in the jar and 3281 files below {{modules/java.base/java}}; the 
result has 606 entries.

On {{GROOVY_6_0_X}} and {{master}} (2026-11-22, after GROOVY-12725) the read is 
at {{FormatHelper.java:94}} and the scan at {{ResolveVisitor.java:816}} and 
{{:944}}. The scan result is now merged and stored differently, but it is still 
computed in the static initialiser.

h3. Who pays

Every JVM that formats one value through the Groovy runtime and does not 
compile Groovy at run time: command line tools written in Groovy, precompiled 
scripts, build tooling, tests that start many short JVMs, and applications that 
count their start-up in milliseconds (serverless, CRaC or AOT-cache start-ups, 
where a file-system walk in a static initialiser is also work that cannot be 
stored). A program that does compile Groovy at run time pays the same cost, 
only later and for a reason. On a start-up of about 130 ms for the runtime 
alone ({{Control}} above), the scan is more than a third on top.

h3. Suggested fix

Two small changes; either one removes the scan from the formatting path, and 
they are independent.

*1. {{ResolveVisitor}}: compute the index on first use (the holder that was 
proposed here in 2022).* This also covers every other reader of the public 
constant ({{ImportCustomizer}}, {{AstBuilder}}, groovydoc). Against 
{{GROOVY_6_0_0}}:

{noformat}
--- a/src/main/java/org/codehaus/groovy/control/ResolveVisitor.java
+++ b/src/main/java/org/codehaus/groovy/control/ResolveVisitor.java
@@ -701,7 +701,7 @@
             String typeName = type.getName();
 
-            Set<String> packagePrefixSet = 
DEFAULT_IMPORT_CLASS_AND_PACKAGES_CACHE.get(typeName);
+            Set<String> packagePrefixSet = 
DefaultImportCache.INSTANCE.get(typeName);
             if (packagePrefixSet != null) {
@@ -725,10 +725,15 @@
         return false;
     }
 
-    private static final Map<String, Set<String>> 
DEFAULT_IMPORT_CLASS_AND_PACKAGES_CACHE = new UnlimitedConcurrentCache<>();
-    static {
-        
DEFAULT_IMPORT_CLASS_AND_PACKAGES_CACHE.putAll(VMPluginFactory.getPlugin().getDefaultImportClasses(DEFAULT_IMPORTS));
-    }
+    /** Initialised by the first resolution of a default import, not by a read 
of {@link #DEFAULT_IMPORTS}. */
+    private static final class DefaultImportCache {
+        static final Map<String, Set<String>> INSTANCE = new 
UnlimitedConcurrentCache<>();
+        static {
+            
INSTANCE.putAll(VMPluginFactory.getPlugin().getDefaultImportClasses(DEFAULT_IMPORTS));
+        }
+    }
 
@@ -752,7 +757,7 @@
                 if (DEFAULT_IMPORTS == packagePrefixes) { // Only the 
non-cached type and packages should be cached
-                    Set<String> packagePrefixSet = 
DEFAULT_IMPORT_CLASS_AND_PACKAGES_CACHE.computeIfAbsent(typeName, key -> new 
HashSet<>(2));
+                    Set<String> packagePrefixSet = 
DefaultImportCache.INSTANCE.computeIfAbsent(typeName, key -> new HashSet<>(2));
{noformat}

On {{master}} the same holder would take both {{DEFAULT_IMPORT_INDEX}} and 
{{DEFAULT_IMPORT_CLASS_AND_PACKAGES_CACHE}} (lines 927-947), so that the 
identity relation between the two maps that GROOVY-12725 relies on is kept.

*2. {{FormatHelper}}: do not reach into the compiler for seven strings.* With 
change 1 alone the first format still loads and verifies {{ResolveVisitor}} and 
the compiler classes it refers to. Either keep the list in a small class 
without other static state that both {{ResolveVisitor.DEFAULT_IMPORTS}} and 
{{FormatHelper}} read, or defer the read to the first {{typeName}} call:

{noformat}
--- a/src/main/java/org/codehaus/groovy/runtime/FormatHelper.java
+++ b/src/main/java/org/codehaus/groovy/runtime/FormatHelper.java
@@ -82,16 +82,18 @@
-    static final Set<String> DEFAULT_IMPORT_PKGS = new HashSet<>();
-    static final Set<String> DEFAULT_IMPORT_CLASSES = new HashSet<>();
-
-    static {
-        for (String pkgName : ResolveVisitor.DEFAULT_IMPORTS) {
-            FormatHelper.DEFAULT_IMPORT_PKGS.add(pkgName.substring(0, 
pkgName.length() - 1));
-        }
-        FormatHelper.DEFAULT_IMPORT_CLASSES.add("java.math.BigDecimal");
-        FormatHelper.DEFAULT_IMPORT_CLASSES.add("java.math.BigInteger");
-    }
+    /** Initialised by the first call of {@link #typeName(Object)}. */
+    private static final class DefaultImports {
+        static final Set<String> PKGS = new HashSet<>();
+        static final Set<String> CLASSES = Set.of("java.math.BigDecimal", 
"java.math.BigInteger");
+        static {
+            for (String pkgName : ResolveVisitor.DEFAULT_IMPORTS) {
+                PKGS.add(pkgName.substring(0, pkgName.length() - 1));
+            }
+        }
+    }
@@ -461,7 +463,7 @@
         String pkgName = aClass.getPackage() == null ? "" : 
aClass.getPackage().getName();
-        boolean useShort = DEFAULT_IMPORT_PKGS.contains(pkgName) || 
DEFAULT_IMPORT_CLASSES.contains(aClass.getName());
+        boolean useShort = DefaultImports.PKGS.contains(pkgName) || 
DefaultImports.CLASSES.contains(aClass.getName());
{noformat}

({{DEFAULT_IMPORT_PKGS}} and {{DEFAULT_IMPORT_CLASSES}} are package-private; 
nothing else in the 6.0.0 sources reads them.)

Both changes were tried on 6.0.0 by putting the one recompiled class in front 
of {{groovy-6.0.0.jar}} on the class path. Same idle machine, 21 fresh JVMs per 
row: the time of the first {{FormatHelper.toString(list)}} inside the JVM as 
median (minimum), and the wall time of {{Trigger}} over {{Control}} as median.

|| ||first format||{{Trigger}} − {{Control}}||
|6.0.0|58.2 ms (56.6)|\+70.7 ms|
|change 1 only|13.3 ms (12.8)|\+25.6 ms|
|change 2 only|9.6 ms (9.3)|\+22.0 ms|
|both|9.7 ms (9.4)|\+22.5 ms|

So the scan is about 45 ms of the 58, and the process gets about 48 ms faster. 
With either change {{Trigger}} no longer loads {{jdk.internal.jrtfs.\*}}, 
{{jdk.nio.zipfs.\*}} or {{ClassFinder}}; with change 2 it does not load 
{{ResolveVisitor}} either. With change 1 a {{GroovyShell}} still compiles and 
resolves default imports ({{new Date()}}, {{BigInteger}}, {{ArrayList}}). 
Neither patch was run against the Groovy test suite.

A third option, computing the index when Groovy is built, would also make the 
compiler's first resolution cheaper, but the {{java.\*}} half depends on the 
JDK that runs the program, not on the one that built Groovy, so it is not a 
small change.


> Using Closure (Groovy Construction like []) triggers loading of all 
> FileSystemProviders
> ---------------------------------------------------------------------------------------
>
>                 Key: GROOVY-9646
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9646
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 3.0.4
>            Reporter: Andrew Malyhin
>            Priority: Major
>
> After migration from Groovy 2.5.10 and jdk8 to Groovy 3.0.4 and jdk 11 we 
> have faced the issue: the first using of closure inits FileSystemProviders 
> from classpath which are not required: 
> There are two traces that show initializing of 
> org.apache.sshd.common.file.root.RootedFileSystemProvider just calling 
> {code:java}
>  at 
> logback.LogbackConfigurator.configureConsoleAppender(LogbackConfigurator.java:67)
>  at 
> logback.LogbackConfigurator.configureConsoleAppender(LogbackConfigurator.java:67)
>  at logback.LogbackConfigurator.configure(LogbackConfigurator.java:33) at 
> ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:156)
>  at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84) at 
> org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55) at 
> org.slf4j.LoggerFactory.bind(LoggerFactory.java:150) at 
> org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124) at 
> org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:417) at 
> org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362) at 
> org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388) at 
> org.apache.sshd.common.file.root.RootedFileSystemProvider.<init>(RootedFileSystemProvider.java:70)
>  at 
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>  Method) at 
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>  at 
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>  at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) 
> at 
> java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:779)
>  at 
> java.base/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:721) at 
> java.base/java.util.ServiceLoader$3.next(ServiceLoader.java:1394) at 
> java.base/java.nio.file.spi.FileSystemProvider.loadInstalledProviders(FileSystemProvider.java:155)
>  at 
> java.base/java.nio.file.spi.FileSystemProvider$1.run(FileSystemProvider.java:205)
>  at 
> java.base/java.nio.file.spi.FileSystemProvider$1.run(FileSystemProvider.java:202)
>  at java.base/java.security.AccessController.doPrivileged(Native Method) at 
> java.base/java.nio.file.spi.FileSystemProvider.installedProviders(FileSystemProvider.java:202)
>  at java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:341) 
> at java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:293) at 
> org.codehaus.groovy.vmplugin.v9.ClassFinder.newFileSystem(ClassFinder.java:161)
>  at org.codehaus.groovy.vmplugin.v9.ClassFinder.find(ClassFinder.java:118) at 
> org.codehaus.groovy.vmplugin.v9.ClassFinder.find(ClassFinder.java:107) at 
> org.codehaus.groovy.vmplugin.v9.Java9.doFindClasses(Java9.java:106) at 
> org.codehaus.groovy.vmplugin.v9.Java9.getDefaultImportClasses(Java9.java:85) 
> at 
> org.codehaus.groovy.control.ResolveVisitor.<clinit>(ResolveVisitor.java:641) 
> at org.codehaus.groovy.runtime.InvokerHelper.<clinit>(InvokerHelper.java:807) 
> at 
> groovy.lang.GroovyObjectSupport.getDefaultMetaClass(GroovyObjectSupport.java:44)
>  at groovy.lang.GroovyObjectSupport.<init>(GroovyObjectSupport.java:31) at 
> groovy.lang.Closure.<init>(Closure.java:211) at 
> groovy.lang.Closure.<init>(Closure.java:228) at 
> groovy.lang.Closure$1.<init>(Closure.java:193) at 
> groovy.lang.Closure.<clinit>(Closure.java:193){code}
> and
> {code:java}
>  at 
> logback.LogbackConfigurator.configureConsoleAppender(LogbackConfigurator.java:67)
>  at 
> logback.LogbackConfigurator.configureConsoleAppender(LogbackConfigurator.java:67)
>  at logback.LogbackConfigurator.configure(LogbackConfigurator.java:33) at 
> ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:156)
>  at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84) at 
> org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55) at 
> org.slf4j.LoggerFactory.bind(LoggerFactory.java:150) at 
> org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124) at 
> org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:417) at 
> org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362) at 
> org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388) at 
> org.apache.sshd.common.file.root.RootedFileSystemProvider.<init>(RootedFileSystemProvider.java:70)
>  at 
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>  Method) at 
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>  at 
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>  at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) 
> at 
> java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:779)
>  at 
> java.base/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:721) at 
> java.base/java.util.ServiceLoader$3.next(ServiceLoader.java:1394) at 
> java.base/java.nio.file.spi.FileSystemProvider.loadInstalledProviders(FileSystemProvider.java:155)
>  at 
> java.base/java.nio.file.spi.FileSystemProvider$1.run(FileSystemProvider.java:205)
>  at 
> java.base/java.nio.file.spi.FileSystemProvider$1.run(FileSystemProvider.java:202)
>  at java.base/java.security.AccessController.doPrivileged(Native Method) at 
> java.base/java.nio.file.spi.FileSystemProvider.installedProviders(FileSystemProvider.java:202)
>  at java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:341) 
> at java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:293) at 
> org.codehaus.groovy.vmplugin.v9.ClassFinder.newFileSystem(ClassFinder.java:161)
>  at org.codehaus.groovy.vmplugin.v9.ClassFinder.find(ClassFinder.java:118) at 
> org.codehaus.groovy.vmplugin.v9.ClassFinder.find(ClassFinder.java:107) at 
> org.codehaus.groovy.vmplugin.v9.Java9.doFindClasses(Java9.java:106) at 
> org.codehaus.groovy.vmplugin.v9.Java9.getDefaultImportClasses(Java9.java:85) 
> at 
> org.codehaus.groovy.control.ResolveVisitor.<clinit>(ResolveVisitor.java:641) 
> at org.codehaus.groovy.runtime.InvokerHelper.<clinit>(InvokerHelper.java:807) 
> at 
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.createList(ScriptBytecodeAdapter.java:623)
> {code}
> Thanks



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to