Re: Upgrading from 2.5 to 3.0.5 and my class loader extension does not work

2020-08-24 Thread Daniel Sun
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

Re: Upgrading from 2.5 to 3.0.5 and my class loader extension does not work

2020-08-15 Thread Saravanan Palanichamy
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

Re: Upgrading from 2.5 to 3.0.5 and my class loader extension does not work

2020-08-14 Thread Saravanan Palanichamy
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

Re: Upgrading from 2.5 to 3.0.5 and my class loader extension does not work

2020-08-09 Thread Daniel Sun
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

Upgrading from 2.5 to 3.0.5 and my class loader extension does not work

2020-08-08 Thread Saravanan Palanichamy
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