<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#3333ff">... (completing previous sentence) that's why I'm trying GraalVM now (to have better start time and real .exe).</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#3333ff"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#3333ff">I also wanted to add this app is super simple: 1 class, 1 main method, 1 JPanel, 1 JLabel, that's it.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#3333ff">I'm not using any fancy Groovy dynamic trick, nor Groovy Swing Builder, this is just good old Swing in Groovy.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#3333ff"><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font size="2"><font color="#ff6600" face="tahoma, sans-serif"><b>::</b></font><font color="#3333ff" face="tahoma, sans-serif"> <span class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)"></span>b<span class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">est regards</span>, Eri<span class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">x</span></font></font></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 17 oct. 2023 à 11:13, Eric Samson <<a href="mailto:erix.samson@gmail.com">erix.samson@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I don't know if it can help, but I was able to package my Groovy Swing app with JPackage. The only difficulty was to identify which Groovy jars were needed.</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Then creating the installer worked fine and I can run the installed exe. </div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
But if I understand well, this is not "real" native compilation, and launch time still is too big for what I need. That's </div>
<div id="m_4016873812706724228m_-2654598827940183625appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_4016873812706724228m_-2654598827940183625divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De :</b> Eric Samson <<a href="mailto:erix.samson@gmail.com" target="_blank">erix.samson@gmail.com</a>><br>
<b>Envoyé :</b> mardi 17 octobre 2023 10:10<br>
<b>À :</b> Gilles DUBOSCQ <<a href="mailto:gilles.m.duboscq@oracle.com" target="_blank">gilles.m.duboscq@oracle.com</a>>; Eric Samson <<a href="mailto:erix.samson@gmail.com" target="_blank">erix.samson@gmail.com</a>><br>
<b>Cc :</b> <a href="mailto:graalvm-users@oss.oracle.com" target="_blank">graalvm-users@oss.oracle.com</a> <<a href="mailto:graalvm-users@oss.oracle.com" target="_blank">graalvm-users@oss.oracle.com</a>><br>
<b>Objet :</b> Re: [graalvm-users] [External] : java.lang.Thread.sleep() supported in GraalVM?</font>
<div> </div>
</div>

<div dir="ltr">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hi Gilles and Christian,</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I'm a bit lost now. </div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I'm going to try 2 things:</div>
<ul style="list-style-type:disc">
<li style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">Migrate my simple Groovy Swing app to pure Java and see if it works.</span></li><li style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">Create a very simple Groovy app with no Swing and see if it works.</span></li></ul>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">Do you have other ideas to test?</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br>
</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">Best regards, Erix.</span></div>
<div id="m_4016873812706724228m_-2654598827940183625x_appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_4016873812706724228m_-2654598827940183625x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>De :</b> Eric Samson via GraalVM-Users <<a href="mailto:graalvm-users@oss.oracle.com" target="_blank">graalvm-users@oss.oracle.com</a>><br>
<b>Envoyé :</b> lundi 16 octobre 2023 20:33<br>
<b>À :</b> Gilles DUBOSCQ <<a href="mailto:gilles.m.duboscq@oracle.com" target="_blank">gilles.m.duboscq@oracle.com</a>><br>
<b>Cc :</b> <a href="mailto:graalvm-users@oss.oracle.com" target="_blank">graalvm-users@oss.oracle.com</a> <<a href="mailto:graalvm-users@oss.oracle.com" target="_blank">graalvm-users@oss.oracle.com</a>><br>
<b>Objet :</b> Re: [graalvm-users] [External] : java.lang.Thread.sleep() supported in GraalVM?</font>
<div> </div>
</div>

<div dir="ltr">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I have tried both your suggestions and now the error messages get much more complicated:</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">Error: Classes that should be initialized at run time got initialized during image building:</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"> org.codehaus.groovy.reflection.CachedClass$3 was unintentionally initialized at build time. To see why org.codehaus.groovy.reflection.CachedClass$3
 got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.CachedClass$3</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.NumberNumberMultiply was unintentionally initialized at build time. To see why org.codehaus.groovy.runtime.dgmimpl.NumberNumberMultiply
 got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.NumberNumberMultiply</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.DefaultGroovyMethods was unintentionally initialized at build time. To see why org.codehaus.groovy.runtime.DefaultGroovyMethods
 got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.DefaultGroovyMethods</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.util.ReferenceBundle was unintentionally initialized at build time. To see why org.codehaus.groovy.util.ReferenceBundle
 got initialized use --trace-class-initialization=org.codehaus.groovy.util.ReferenceBundle</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.DoubleArrayPutAtMetaMethod was unintentionally initialized at build time. To
 see why org.codehaus.groovy.runtime.dgmimpl.arrays.DoubleArrayPutAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.DoubleArrayPutAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.ObjectArrayGetAtMetaMethod was unintentionally initialized at build time. To
 see why org.codehaus.groovy.runtime.dgmimpl.arrays.ObjectArrayGetAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.ObjectArrayGetAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.vmplugin.v8.IndyInterface was unintentionally initialized at build time. To see why org.codehaus.groovy.vmplugin.v8.IndyInterface
 got initialized use --trace-class-initialization=org.codehaus.groovy.vmplugin.v8.IndyInterface</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.stdclasses.IntegerCachedClass was unintentionally initialized at build time. To see why
 org.codehaus.groovy.reflection.stdclasses.IntegerCachedClass got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.stdclasses.IntegerCachedClass</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.GroovyCategorySupport was unintentionally initialized at build time. To see why org.codehaus.groovy.runtime.GroovyCategorySupport
 got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.GroovyCategorySupport</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.CachedClass was unintentionally initialized at build time. To see why org.codehaus.groovy.reflection.CachedClass
 got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.CachedClass</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.stdclasses.CachedClosureClass was unintentionally initialized at build time. To see why
 org.codehaus.groovy.reflection.stdclasses.CachedClosureClass got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.stdclasses.CachedClosureClass</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.stdclasses.NumberCachedClass was unintentionally initialized at build time. To see why
 org.codehaus.groovy.reflection.stdclasses.NumberCachedClass got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.stdclasses.NumberCachedClass</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.stdclasses.BigIntegerCachedClass was unintentionally initialized at build time. To see
 why org.codehaus.groovy.reflection.stdclasses.BigIntegerCachedClass got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.stdclasses.BigIntegerCachedClass</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.ClassInfo$LazyClassLoaderRef was unintentionally initialized at build time. To see why
 org.codehaus.groovy.reflection.ClassInfo$LazyClassLoaderRef got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.ClassInfo$LazyClassLoaderRef</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.ReflectionUtils was unintentionally initialized at build time. To see why org.codehaus.groovy.reflection.ReflectionUtils
 got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.ReflectionUtils</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.GroovyClassValueFactory was unintentionally initialized at build time. To see why org.codehaus.groovy.reflection.GroovyClassValueFactory
 got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.GroovyClassValueFactory</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.CachedClass$6 was unintentionally initialized at build time. To see why org.codehaus.groovy.reflection.CachedClass$6
 got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.CachedClass$6</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.vmplugin.v9.Java9 was unintentionally initialized at build time. To see why org.codehaus.groovy.vmplugin.v9.Java9
 got initialized use --trace-class-initialization=org.codehaus.groovy.vmplugin.v9.Java9</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.ShortArrayGetAtMetaMethod was unintentionally initialized at build time. To
 see why org.codehaus.groovy.runtime.dgmimpl.arrays.ShortArrayGetAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.ShortArrayGetAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.CharacterArrayGetAtMetaMethod was unintentionally initialized at build time.
 To see why org.codehaus.groovy.runtime.dgmimpl.arrays.CharacterArrayGetAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.CharacterArrayGetAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.util.LazyReference was unintentionally initialized at build time. To see why org.codehaus.groovy.util.LazyReference
 got initialized use --trace-class-initialization=org.codehaus.groovy.util.LazyReference</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.ShortArrayPutAtMetaMethod was unintentionally initialized at build time. To
 see why org.codehaus.groovy.runtime.dgmimpl.arrays.ShortArrayPutAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.ShortArrayPutAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.LongArrayPutAtMetaMethod was unintentionally initialized at build time. To
 see why org.codehaus.groovy.runtime.dgmimpl.arrays.LongArrayPutAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.LongArrayPutAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.stdclasses.CharacterCachedClass was unintentionally initialized at build time. To see why
 org.codehaus.groovy.reflection.stdclasses.CharacterCachedClass got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.stdclasses.CharacterCachedClass</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.stdclasses.DoubleCachedClass was unintentionally initialized at build time. To see why
 org.codehaus.groovy.reflection.stdclasses.DoubleCachedClass got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.stdclasses.DoubleCachedClass</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.ClassInfo$LazyCachedClassRef was unintentionally initialized at build time. To see why
 org.codehaus.groovy.reflection.ClassInfo$LazyCachedClassRef got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.ClassInfo$LazyCachedClassRef</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.NumberNumberDiv was unintentionally initialized at build time. To see why org.codehaus.groovy.runtime.dgmimpl.NumberNumberDiv
 got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.NumberNumberDiv</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.util.ReferenceType$2 was unintentionally initialized at build time. To see why org.codehaus.groovy.util.ReferenceType$2
 got initialized use --trace-class-initialization=org.codehaus.groovy.util.ReferenceType$2</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">groovy.lang.MetaClassImpl was unintentionally initialized at build time. To see why groovy.lang.MetaClassImpl got initialized
 use --trace-class-initialization=groovy.lang.MetaClassImpl</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.FloatArrayPutAtMetaMethod was unintentionally initialized at build time. To
 see why org.codehaus.groovy.runtime.dgmimpl.arrays.FloatArrayPutAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.FloatArrayPutAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">com.sun.beans.util.Cache$Kind$1 was unintentionally initialized at build time. To see why com.sun.beans.util.Cache$Kind$1
 got initialized use --trace-class-initialization=com.sun.beans.util.Cache$Kind$1</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.stdclasses.ArrayCachedClass was unintentionally initialized at build time. To see why org.codehaus.groovy.reflection.stdclasses.ArrayCachedClass
 got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.stdclasses.ArrayCachedClass</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.NumberNumberMinus was unintentionally initialized at build time. To see why org.codehaus.groovy.runtime.dgmimpl.NumberNumberMinus
 got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.NumberNumberMinus</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.stdclasses.CachedSAMClass was unintentionally initialized at build time. To see why org.codehaus.groovy.reflection.stdclasses.CachedSAMClass
 got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.stdclasses.CachedSAMClass</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.NumberNumberPlus was unintentionally initialized at build time. To see why org.codehaus.groovy.runtime.dgmimpl.NumberNumberPlus
 got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.NumberNumberPlus</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.util.ReferenceType$1 was unintentionally initialized at build time. To see why org.codehaus.groovy.util.ReferenceType$1
 got initialized use --trace-class-initialization=org.codehaus.groovy.util.ReferenceType$1</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.CachedClass$4 was unintentionally initialized at build time. To see why org.codehaus.groovy.reflection.CachedClass$4
 got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.CachedClass$4</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">groovy.lang.GroovySystem was unintentionally initialized at build time. To see why groovy.lang.GroovySystem got initialized
 use --trace-class-initialization=groovy.lang.GroovySystem</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.vmplugin.VMPluginFactory was unintentionally initialized at build time. To see why org.codehaus.groovy.vmplugin.VMPluginFactory
 got initialized use --trace-class-initialization=org.codehaus.groovy.vmplugin.VMPluginFactory</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.vmplugin.v8.IndyInterface$CallType was unintentionally initialized at build time. To see why org.codehaus.groovy.vmplugin.v8.IndyInterface$CallType
 got initialized use --trace-class-initialization=org.codehaus.groovy.vmplugin.v8.IndyInterface$CallType</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.ReflectionCache was unintentionally initialized at build time. To see why org.codehaus.groovy.reflection.ReflectionCache
 got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.ReflectionCache</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.util.ReferenceType$4 was unintentionally initialized at build time. To see why org.codehaus.groovy.util.ReferenceType$4
 got initialized use --trace-class-initialization=org.codehaus.groovy.util.ReferenceType$4</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.m12n.SimpleExtensionModule was unintentionally initialized at build time. To see why org.codehaus.groovy.runtime.m12n.SimpleExtensionModule
 got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.m12n.SimpleExtensionModule</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.m12n.MetaInfExtensionModule was unintentionally initialized at build time. To see why org.codehaus.groovy.runtime.m12n.MetaInfExtensionModule
 got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.m12n.MetaInfExtensionModule</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.NumberNumberMetaMethod was unintentionally initialized at build time. To see why org.codehaus.groovy.runtime.dgmimpl.NumberNumberMetaMethod
 got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.NumberNumberMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.MetaClassHelper was unintentionally initialized at build time. To see why org.codehaus.groovy.runtime.MetaClassHelper
 got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.MetaClassHelper</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.util.ReferenceType$3 was unintentionally initialized at build time. To see why org.codehaus.groovy.util.ReferenceType$3
 got initialized use --trace-class-initialization=org.codehaus.groovy.util.ReferenceType$3</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.ObjectArrayPutAtMetaMethod was unintentionally initialized at build time. To
 see why org.codehaus.groovy.runtime.dgmimpl.arrays.ObjectArrayPutAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.ObjectArrayPutAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.LongArrayGetAtMetaMethod was unintentionally initialized at build time. To
 see why org.codehaus.groovy.runtime.dgmimpl.arrays.LongArrayGetAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.LongArrayGetAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">com.sun.beans.util.Cache$Kind$3 was unintentionally initialized at build time. To see why com.sun.beans.util.Cache$Kind$3
 got initialized use --trace-class-initialization=com.sun.beans.util.Cache$Kind$3</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.stdclasses.BooleanCachedClass was unintentionally initialized at build time. To see why
 org.codehaus.groovy.reflection.stdclasses.BooleanCachedClass got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.stdclasses.BooleanCachedClass</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.CachedClass$1 was unintentionally initialized at build time. To see why org.codehaus.groovy.reflection.CachedClass$1
 got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.CachedClass$1</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.CachedClass$7 was unintentionally initialized at build time. To see why org.codehaus.groovy.reflection.CachedClass$7
 got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.CachedClass$7</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.FloatArrayGetAtMetaMethod was unintentionally initialized at build time. To
 see why org.codehaus.groovy.runtime.dgmimpl.arrays.FloatArrayGetAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.FloatArrayGetAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.ArrayPutAtMetaMethod was unintentionally initialized at build time. To see
 why org.codehaus.groovy.runtime.dgmimpl.arrays.ArrayPutAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.ArrayPutAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.stdclasses.BigDecimalCachedClass was unintentionally initialized at build time. To see
 why org.codehaus.groovy.reflection.stdclasses.BigDecimalCachedClass got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.stdclasses.BigDecimalCachedClass</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.ArrayGetAtMetaMethod was unintentionally initialized at build time. To see
 why org.codehaus.groovy.runtime.dgmimpl.arrays.ArrayGetAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.ArrayGetAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.IntegerArrayPutAtMetaMethod was unintentionally initialized at build time.
 To see why org.codehaus.groovy.runtime.dgmimpl.arrays.IntegerArrayPutAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.IntegerArrayPutAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.BooleanArrayGetAtMetaMethod was unintentionally initialized at build time.
 To see why org.codehaus.groovy.runtime.dgmimpl.arrays.BooleanArrayGetAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.BooleanArrayGetAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.ArrayMetaMethod was unintentionally initialized at build time. To see why org.codehaus.groovy.runtime.dgmimpl.arrays.ArrayMetaMethod
 got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.ArrayMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.DefaultGroovyMethodsSupport was unintentionally initialized at build time. To see why org.codehaus.groovy.runtime.DefaultGroovyMethodsSupport
 got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.DefaultGroovyMethodsSupport</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.vmplugin.v8.Java8 was unintentionally initialized at build time. To see why org.codehaus.groovy.vmplugin.v8.Java8
 got initialized use --trace-class-initialization=org.codehaus.groovy.vmplugin.v8.Java8</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">com.sun.beans.introspect.ClassInfo was unintentionally initialized at build time. To see why com.sun.beans.introspect.ClassInfo
 got initialized use --trace-class-initialization=com.sun.beans.introspect.ClassInfo</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.vmplugin.v8.CacheableCallSite was unintentionally initialized at build time. To see why org.codehaus.groovy.vmplugin.v8.CacheableCallSite
 got initialized use --trace-class-initialization=org.codehaus.groovy.vmplugin.v8.CacheableCallSite</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.vmplugin.v16.Java16 was unintentionally initialized at build time. To see why org.codehaus.groovy.vmplugin.v16.Java16
 got initialized use --trace-class-initialization=org.codehaus.groovy.vmplugin.v16.Java16</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.CachedClass$5 was unintentionally initialized at build time. To see why org.codehaus.groovy.reflection.CachedClass$5
 got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.CachedClass$5</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.stdclasses.StringCachedClass was unintentionally initialized at build time. To see why
 org.codehaus.groovy.reflection.stdclasses.StringCachedClass got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.stdclasses.StringCachedClass</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">java.beans.Introspector was unintentionally initialized at build time. To see why java.beans.Introspector got initialized
 use --trace-class-initialization=java.beans.Introspector</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.ByteArrayPutAtMetaMethod was unintentionally initialized at build time. To
 see why org.codehaus.groovy.runtime.dgmimpl.arrays.ByteArrayPutAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.ByteArrayPutAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">com.sun.beans.util.Cache$Kind was unintentionally initialized at build time. To see why com.sun.beans.util.Cache$Kind
 got initialized use --trace-class-initialization=com.sun.beans.util.Cache$Kind</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.DoubleArrayGetAtMetaMethod was unintentionally initialized at build time. To
 see why org.codehaus.groovy.runtime.dgmimpl.arrays.DoubleArrayGetAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.DoubleArrayGetAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.CachedClass$2 was unintentionally initialized at build time. To see why org.codehaus.groovy.reflection.CachedClass$2
 got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.CachedClass$2</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.util.ReferenceType was unintentionally initialized at build time. To see
 why org.codehaus.groovy.util.ReferenceType got initialized use --trace-class-initialization=org.codehaus.groovy.util.ReferenceType</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.ByteArrayGetAtMetaMethod was unintentionally initialized
 at build time. To see why org.codehaus.groovy.runtime.dgmimpl.arrays.ByteArrayGetAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.ByteArrayGetAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">com.sun.beans.util.Cache$Kind$2 was unintentionally initialized at build time. To see why com.sun.beans.util.Cache$Kind$2
 got initialized use --trace-class-initialization=com.sun.beans.util.Cache$Kind$2</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.CachedClass$8 was unintentionally initialized at build time.
 To see why org.codehaus.groovy.reflection.CachedClass$8 got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.CachedClass$8</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.stdclasses.LongCachedClass was unintentionally initialized at build time. To see why org.codehaus.groovy.reflection.stdclasses.LongCachedClass
 got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.stdclasses.LongCachedClass</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.stdclasses.FloatCachedClass was unintentionally initialized at build time. To see why org.codehaus.groovy.reflection.stdclasses.FloatCachedClass
 got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.stdclasses.FloatCachedClass</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.ClassInfo was unintentionally initialized at build time. To
 see why org.codehaus.groovy.reflection.ClassInfo got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.ClassInfo</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.reflection.stdclasses.ObjectCachedClass was unintentionally initialized at build time. To see why
 org.codehaus.groovy.reflection.stdclasses.ObjectCachedClass got initialized use --trace-class-initialization=org.codehaus.groovy.reflection.stdclasses.ObjectCachedClass</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.apache.groovy.plugin.GroovyRunnerRegistry was unintentionally initialized at build time. To see why org.apache.groovy.plugin.GroovyRunnerRegistry
 got initialized use --trace-class-initialization=org.apache.groovy.plugin.GroovyRunnerRegistry</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.vmplugin.v10.Java10 was unintentionally initialized at build time. To see
 why org.codehaus.groovy.vmplugin.v10.Java10 got initialized use --trace-class-initialization=org.codehaus.groovy.vmplugin.v10.Java10</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.CharacterArrayPutAtMetaMethod was unintentionally
 initialized at build time. To see why org.codehaus.groovy.runtime.dgmimpl.arrays.CharacterArrayPutAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.CharacterArrayPutAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.BooleanArrayPutAtMetaMethod was unintentionally
 initialized at build time. To see why org.codehaus.groovy.runtime.dgmimpl.arrays.BooleanArrayPutAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.BooleanArrayPutAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">org.codehaus.groovy.runtime.dgmimpl.arrays.IntegerArrayGetAtMetaMethod was unintentionally initialized at build time.
 To see why org.codehaus.groovy.runtime.dgmimpl.arrays.IntegerArrayGetAtMetaMethod got initialized use --trace-class-initialization=org.codehaus.groovy.runtime.dgmimpl.arrays.IntegerArrayGetAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">To see how the classes got initialized, use --trace-class-initialization=org.codehaus.groovy.reflection.CachedClass$3,org.codehaus.groovy.runtime.dgmimpl.NumberNumberMultiply,org.codehaus.groovy.runtime.DefaultGroovyMethods,org.codehaus.groovy.util.ReferenceBundle,org.codehaus.groovy.runtime.dgmimpl.arrays.DoubleArrayPutAtMetaMethod,org.codehaus.groovy.runtime.dgmimpl.arrays.ObjectArrayGetAtMetaMethod,org.codehaus.groovy.vmplugin.v8.IndyInterface,org.codehaus.groovy.reflection.stdclasses.IntegerCachedClass,org.codehaus.groovy.runtime.GroovyCategorySupport,org.codehaus.groovy.reflection.CachedClass,org.codehaus.groovy.reflection.stdclasses.CachedClosureClass,org.codehaus.groovy.reflection.stdclasses.NumberCachedClass,org.codehaus.groovy.reflection.stdclasses.BigIntegerCachedClass,org.codehaus.groovy.reflection.ClassInfo$LazyClassLoaderRef,org.codehaus.groovy.reflection.ReflectionUtils,org.codehaus.groovy.reflection.GroovyClassValueFactory,org.codehaus.groovy.reflection.CachedClass$6,org.codehaus.groovy.vmplugin.v9.Java9,org.codehaus.groovy.runtime.dgmimpl.arrays.ShortArrayGetAtMetaMethod,org.codehaus.groovy.runtime.dgmimpl.arrays.CharacterArrayGetAtMetaMethod,org.codehaus.groovy.util.LazyReference,org.codehaus.groovy.runtime.dgmimpl.arrays.ShortArrayPutAtMetaMethod,org.codehaus.groovy.runtime.dgmimpl.arrays.LongArrayPutAtMetaMethod,org.codehaus.groovy.reflection.stdclasses.CharacterCachedClass,org.codehaus.groovy.reflection.stdclasses.DoubleCachedClass,org.codehaus.groovy.reflection.ClassInfo$LazyCachedClassRef,org.codehaus.groovy.runtime.dgmimpl.NumberNumberDiv,org.codehaus.groovy.util.ReferenceType$2,groovy.lang.MetaClassImpl,org.codehaus.groovy.runtime.dgmimpl.arrays.FloatArrayPutAtMetaMethod,com.sun.beans.util.Cache$Kind$1,org.codehaus.groovy.reflection.stdclasses.ArrayCachedClass,org.codehaus.groovy.runtime.dgmimpl.NumberNumberMinus,org.codehaus.groovy.reflection.stdclasses.CachedSAMClass,org.codehaus.groovy.runtime.dgmimpl.NumberNumberPlus,org.codehaus.groovy.util.ReferenceType$1,org.codehaus.groovy.reflection.CachedClass$4,groovy.lang.GroovySystem,org.codehaus.groovy.vmplugin.VMPluginFactory,org.codehaus.groovy.vmplugin.v8.IndyInterface$CallType,org.codehaus.groovy.reflection.ReflectionCache,org.codehaus.groovy.util.ReferenceType$4,org.codehaus.groovy.runtime.m12n.SimpleExtensionModule,org.codehaus.groovy.runtime.m12n.MetaInfExtensionModule,org.codehaus.groovy.runtime.dgmimpl.NumberNumberMetaMethod,org.codehaus.groovy.runtime.MetaClassHelper,org.codehaus.groovy.util.ReferenceType$3,org.codehaus.groovy.runtime.dgmimpl.arrays.ObjectArrayPutAtMetaMethod,org.codehaus.groovy.runtime.dgmimpl.arrays.LongArrayGetAtMetaMethod,com.sun.beans.util.Cache$Kind$3,org.codehaus.groovy.reflection.stdclasses.BooleanCachedClass,org.codehaus.groovy.reflection.CachedClass$1,org.codehaus.groovy.reflection.CachedClass$7,org.codehaus.groovy.runtime.dgmimpl.arrays.FloatArrayGetAtMetaMethod,org.codehaus.groovy.runtime.dgmimpl.arrays.ArrayPutAtMetaMethod,org.codehaus.groovy.reflection.stdclasses.BigDecimalCachedClass,org.codehaus.groovy.runtime.dgmimpl.arrays.ArrayGetAtMetaMethod,org.codehaus.groovy.runtime.dgmimpl.arrays.IntegerArrayPutAtMetaMethod,org.codehaus.groovy.runtime.dgmimpl.arrays.BooleanArrayGetAtMetaMethod,org.codehaus.groovy.runtime.dgmimpl.arrays.ArrayMetaMethod,org.codehaus.groovy.runtime.DefaultGroovyMethodsSupport,org.codehaus.groovy.vmplugin.v8.Java8,com.sun.beans.introspect.ClassInfo,org.codehaus.groovy.vmplugin.v8.CacheableCallSite,org.codehaus.groovy.vmplugin.v16.Java16,org.codehaus.groovy.reflection.CachedClass$5,org.codehaus.groovy.reflection.stdclasses.StringCachedClass,java.beans.Introspector,org.codehaus.groovy.runtime.dgmimpl.arrays.ByteArrayPutAtMetaMethod,com.sun.beans.util.Cache$Kind,org.codehaus.groovy.runtime.dgmimpl.arrays.DoubleArrayGetAtMetaMethod,org.codehaus.groovy.reflection.CachedClass$2,org.codehaus.groovy.util.ReferenceType,org.codehaus.groovy.runtime.dgmimpl.arrays.ByteArrayGetAtMetaMethod,com.sun.beans.util.Cache$Kind$2,org.codehaus.groovy.reflection.CachedClass$8,org.codehaus.groovy.reflection.stdclasses.LongCachedClass,org.codehaus.groovy.reflection.stdclasses.FloatCachedClass,org.codehaus.groovy.reflection.ClassInfo,org.codehaus.groovy.reflection.stdclasses.ObjectCachedClass,org.apache.groovy.plugin.GroovyRunnerRegistry,org.codehaus.groovy.vmplugin.v10.Java10,org.codehaus.groovy.runtime.dgmimpl.arrays.CharacterArrayPutAtMetaMethod,org.codehaus.groovy.runtime.dgmimpl.arrays.BooleanArrayPutAtMetaMethod,org.codehaus.groovy.runtime.dgmimpl.arrays.IntegerArrayGetAtMetaMethod</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br>
</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">I've watched some Groovy on GraalVM tutorials and it seems to be working, but there was no
 AWT / Swing.</span></div>
<div><span style="letter-spacing:normal;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;font-weight:400;color:rgb(0,0,0)">Does it mean that Swing + GraalVM is not a valid option?
 Or is it because of Groovy + Swing?</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br>
<br>
</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br>
</span></div>
<div id="m_4016873812706724228m_-2654598827940183625x_x_appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_4016873812706724228m_-2654598827940183625x_x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>De :</b> Gilles DUBOSCQ <<a href="mailto:gilles.m.duboscq@oracle.com" target="_blank">gilles.m.duboscq@oracle.com</a>><br>
<b>Envoyé :</b> lundi 16 octobre 2023 20:10<br>
<b>À :</b> Eric Samson <<a href="mailto:erix.samson@gmail.com" target="_blank">erix.samson@gmail.com</a>><br>
<b>Cc :</b> <a href="mailto:graalvm-users@oss.oracle.com" target="_blank">graalvm-users@oss.oracle.com</a> <<a href="mailto:graalvm-users@oss.oracle.com" target="_blank">graalvm-users@oss.oracle.com</a>><br>
<b>Objet :</b> Re: [External] : [graalvm-users] java.lang.Thread.sleep() supported in GraalVM?</font>
<div> </div>
</div>

<div dir="ltr">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
It looks like the issue is not with Thread.sleep but Swing/AWT on Windows (specifically sun.awt.shell.Win32ShellFolderManager2$ComInvoker).</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I think it's not a good idea to use --initialize-at-build-time, you're likely to get into a lot of such corner cases. In general only code that has been designed for it or has explicit support in native-image works well under --initialize-at-build-time. I would
 recommend to use --initialize-at-build-time only on specific packages or type for which you know there is a real benefit.<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
If you really want to initialize everything at build time, maybe you can try to use --initialize-at-run-time=sun.awt.shell.Win32ShellFolder2</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
 Gilles<br>
</div>
<div id="m_4016873812706724228m_-2654598827940183625x_x_x_appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_4016873812706724228m_-2654598827940183625x_x_x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Eric Samson <<a href="mailto:erix.samson@gmail.com" target="_blank">erix.samson@gmail.com</a>><br>
<b>Sent:</b> Monday, 16 October 2023 19:10<br>
<b>To:</b> Gilles DUBOSCQ <<a href="mailto:gilles.m.duboscq@oracle.com" target="_blank">gilles.m.duboscq@oracle.com</a>><br>
<b>Cc:</b> <a href="mailto:graalvm-users@oss.oracle.com" target="_blank">graalvm-users@oss.oracle.com</a> <<a href="mailto:graalvm-users@oss.oracle.com" target="_blank">graalvm-users@oss.oracle.com</a>><br>
<b>Subject:</b> Re: [External] : [graalvm-users] java.lang.Thread.sleep() supported in GraalVM?</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
Hi Gilles,</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
<br>
</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
Thanks for the quick reply.</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
Here is the error message:</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
<br>
</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
<b>Error</b>: Detected a started Thread in the image heap. Threads running in the image generator are no longer running at image runtime.  To see how this object got instantiated use --trace-object-instantiation=java.lang.Thread. The object was probably created
 by a class initializer and is reachable from a static field. You can request class initialization at image runtime by using the option --initialize-at-run-time=<class-name>. Or you can write your own initialization methods and call them explicitly from your
 main entry point.<br>
</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
<br>
</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
I've tried the option --initialize-at-runtime=java.lang.Thread, without success.</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
<br>
</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
<b>StackTrace:</b></div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
Trace: Object was reached by<br>
  reading field java.util.concurrent.ThreadPoolExecutor$Worker.thread of constant<br>
    java.util.concurrent.ThreadPoolExecutor$Worker@63a4cfd: java.util.concurrent.ThreadPoolExecutor$Worker@63a4cfd[State = 1, empty queue]<br>
  reading field java.util.HashMap$Node.key of constant<br>
    java.util.HashMap$Node@53798803: java.util.concurrent.ThreadPoolExecutor$Worker@63a4cfd[State = 1, empty queue]=j...<br>
  indexing into array java.util.HashMap$Node[]@2f2400d: [Ljava.util.HashMap$Node;@2f2400d<br>
  reading field java.util.HashMap.table of constant<br>
    java.util.HashMap@1ac46e3c: {java.util.concurrent.ThreadPoolExecutor$Worker@63a4cfd[State = 1, empty queue]=...<br>
  reading field java.util.HashSet.map of constant<br>
    java.util.HashSet@74b3b357: [java.util.concurrent.ThreadPoolExecutor$Worker@63a4cfd[State = 1, empty queue]]<br>
  reading field java.util.concurrent.ThreadPoolExecutor.workers of constant<br>
    sun.awt.shell.Win32ShellFolderManager2$ComInvoker@7f227548: sun.awt.shell.Win32ShellFolderManager2$ComInvoker@7f227548[Running, pool size = ...<br>
  scanning root sun.awt.shell.Win32ShellFolderManager2$ComInvoker@7f227548: sun.awt.shell.Win32ShellFolderManager2$ComInvoker@7f227548[Running, pool size = ... embedded in<br>
    sun.awt.shell.ShellFolder.invoke(ShellFolder.java:537)<br>
  parsing method sun.awt.shell.ShellFolder.invoke(ShellFolder.java:537) reachable via the parsing context<br>
    at sun.awt.shell.Win32ShellFolder2.<init>(Win32ShellFolder2.java:292)<br>
    at com.oracle.svm.core.code.FactoryMethodHolder.Win32ShellFolder2_constructor_79b7324abf2daa84de416777f746e499d5310ac3(generated:0)<br>
    at sun.awt.shell.Win32ShellFolderManager2.getDesktop(Win32ShellFolderManager2.java:171)<br>
    at sun.awt.shell.Win32ShellFolderManager2.isFileSystemRoot(Win32ShellFolderManager2.java:504)<br>
    at javax.swing.filechooser.FileSystemView.isFileSystemRoot(FileSystemView.java:423)<br>
    at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:581)<br>
    at javax.swing.filechooser.FileSystemView.isParent(FileSystemView.java:338)<br>
    at javax.swing.JFileChooser.setSelectedFile(JFileChooser.java:513)<br>
    at javax.swing.JFileChooser.setFileFilter(JFileChooser.java:1472)<br>
    at javax.swing.JFileChooser.setup(JFileChooser.java:398)<br>
    at javax.swing.JFileChooser.<init>(JFileChooser.java:362)<br>
    at com.oracle.svm.core.code.FactoryMethodHolder.JFileChooser_constructor_0980039f483e9a48b2389d8a4a1a9cd473a16dbd(generated:0)<br>
    at javax.swing.text.html.FormView$BrowseFileAction.actionPerformed(FormView.java:968)<br>
    at java.awt.MenuItem.processActionEvent(MenuItem.java:692)<br>
    at java.awt.MenuItem.processEvent(MenuItem.java:651)<br>
    at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:379)<br>
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)<br>
    at java.awt.EventQueue$4.run(EventQueue.java:722)<br>
    at java.awt.EventQueue$4.run(EventQueue.java:716)<br>
    at com.oracle.svm.core.jdk.Target_java_security_AccessController.executePrivileged(SecuritySubstitutions.java:171)<br>
    at sun.font.SunFontManager.<init>(SunFontManager.java:457)<br>
    at sun.awt.Win32FontManager.<init>(Win32FontManager.java:88)<br>
    at com.oracle.svm.core.code.FactoryMethodHolder.Win32FontManager_constructor_002b6104bcda27602265e5cec50c16a5ebc813af(generated:0)<br>
    at static root method.(Unknown Source)<br>
</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
<br>
</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
<b>My Groovy code snippet:</b></div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
<br>
</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
@groovy.transform.CompileStatic<br>
class App { <br>
    static void main(String[] args) {<br>
    // some very simple Swing UI init here</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
    while (true) {<br>
            time = LocalTime.now()<br>
            label.text = " " + time.format("HH:mm:ss")<br>
            Thread.sleep(1000)<br>
        }<br>
</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
 }</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
<br>
</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
<b>My native-compile command line:</b></div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
native-image --report-unsupported-elements-at-runtime --initialize-at-build-time --trace-class-initialization=java.lang.Thread --no-fallback -H:ConfigurationFileDirectories=conf/ -cp ".;%GROOVY_HOME%lib\groovy-4.0.9.jar;%GROOVY_HOME%lib\groovy-datetime-4.0.9.jar"
 displaytime.App<br>
</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
<br>
</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
<b>My native-agent command line (works well):</b></div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
java -agentlib:native-image-agent=config-output-dir=conf/ displaytime.App<br>
</div>
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
<br>
</div>
<div>
<div dir="ltr">
<div dir="ltr"><font size="2"><font color="#ff6600" face="tahoma, sans-serif"><b>::</b></font><font color="#3333ff" face="tahoma, sans-serif"> Cordialement<span style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">/Best
 regards</span>, Eri<span style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">x</span></font></font>
<div><br>
</div>
</div>
</div>
</div>
</div>
<br>
<div>
<div dir="ltr">Le lun. 16 oct. 2023 à 18:48, Gilles DUBOSCQ <<a href="mailto:gilles.m.duboscq@oracle.com" target="_blank">gilles.m.duboscq@oracle.com</a>> a écrit :<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div dir="ltr">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hi Eric,</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Yes Thread.sleep() should work in GraalVM native-image.<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
It would help to know what kind of error you're seeing exactly.</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
 Gilles<br>
</div>
<div id="m_4016873812706724228m_-2654598827940183625x_x_x_x_m_-9024239459165651314appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_4016873812706724228m_-2654598827940183625x_x_x_x_m_-9024239459165651314divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Eric Samson via GraalVM-Users <<a href="mailto:graalvm-users@oss.oracle.com" target="_blank">graalvm-users@oss.oracle.com</a>><br>
<b>Sent:</b> Monday, 16 October 2023 18:38<br>
<b>To:</b> <a href="mailto:graalvm-users@oss.oracle.com" target="_blank">graalvm-users@oss.oracle.com</a> <<a href="mailto:graalvm-users@oss.oracle.com" target="_blank">graalvm-users@oss.oracle.com</a>><br>
<b>Subject:</b> [External] : [graalvm-users] java.lang.Thread.sleep() supported in GraalVM?</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div style="font-family:tahoma,sans-serif;font-size:small;color:rgb(51,51,255)">
<div style="border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-variant-alternates:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,0)">
Hi everyone,</div>
<div style="border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-variant-alternates:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,0)">
<br>
</div>
<div style="border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-variant-alternates:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,0)">
I'm totally new to GraalVM.</div>
<div style="border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-variant-alternates:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,0)">
I've set up the whole environment for Windows this morning. </div>
<div style="border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-variant-alternates:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,0)">
<br>
</div>
<div style="border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-variant-alternates:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,0)">
I'm now trying to natively compile a Groovy app (with neither dynamic nor meta programming).</div>
<div style="border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-variant-alternates:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,0)">
I've been able to compile it and use the native-image-agent to generate the /conf files.</div>
<div style="border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-variant-alternates:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,0)">
<br>
</div>
<div style="border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-variant-alternates:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,0)">
Now I'm trying to generate the executable and I get an error message due to the fact I'm using Thread.sleep(x) in my main loop.</div>
<div style="border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-variant-alternates:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,0)">
<br>
</div>
<div style="border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-variant-alternates:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,0)">
Sleep is a static method of the Thread class. I understand there must be some kind of conflicts between the class being initialized at build-time or runtime. But I'm not sure how to fix it. I've spent a lot of time in the GraalVM documentation and several Web
 sites (stackOverflow, etc.) but could not find a good example of how to use Thread.sleep in GraalVM.</div>
<div style="border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-variant-alternates:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,0)">
<br>
</div>
<div style="border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-variant-alternates:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,0)">
Sorry for the noob question. Any hint would be greatly appreciated. Thanks in advance.</div>
<div style="border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-variant-alternates:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-kerning:inherit;font-feature-settings:inherit;margin:0px;padding:0px;vertical-align:baseline;color:rgb(0,0,0)">
Best regards, Erix.</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote></div>