Monday, August 27, 2018

Re: Problem with using gwtmockito and

I added "net.bytebuddy" as an extra package in the getPackagesToLoadViaStandardClassloader () method, This did the trick!

Thank you so much Lars!



On Thursday, August 23, 2018 at 4:33:12 PM UTC+2, Lars wrote:
May, but this only guessing, because we did not use java9/10 at the moment (still with java8) and in addition stepped away from the classloader handling of gwtmockito (after having some issues), you have to include net.bytebuddy to the list of classes loaded by the standard classloader.
You could do this be sub classing GwtMockitoTestRunnerand overwrite/extend getPackagesToLoadViaStandardClassloader or using the WithPackagesToLoadViaStandardClassLoader annotation.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment