Hi Saravanan,
Sorry for the late reply... I am too busy recently...
Yep, `StampedCommonCache` is not reentrant. You could try to replace
`StampedCommonCache ` with
`org.codehaus.groovy.runtime.memoize.UnlimitedConcurrentCache`, and build
Groovy via `gradlew clean installGroovy
Hello Daniel
I was able to reproduce this error. I am still not sure if it is my setup
that is causing this error. I have attached my code files as a zip file
My class loader code is this. Notice that I overload the loadClass method
and if I hit a class not found exception, I try to parse the
Apologies to the group
This was a bad dependency merge of junit that was causing this thread lockup.
It works just fine now
regards
Saravanan
On 2020/08/10 04:41:42, Daniel Sun wrote:
> Could you provide a standalone runnable script to reproduce the issue?
> BTW, the script is expected to be
Could you provide a standalone runnable script to reproduce the issue?
BTW, the script is expected to be written in Groovy/Java.
Cheers,
Daniel Sun
On 2020/08/08 13:19:01, Saravanan Palanichamy wrote:
> Hello
>
> I have an extension of GroovyClassLoader that I use as follows
>
> a) I override
Hello
I have an extension of GroovyClassLoader that I use as follows
a) I override loadClass to make sure I decide where to load from
b) I first call loadClass on my parent class loader to make sure the class is
not loaded there (I assert if it is. This code is not shown below)
c) I then call