Rafael Winterhalter
Rafael Winterhalter
We had fixed some meta class Groovy issues just recently. Are you sure that this is still an issue? This should use both for the regular and inline mock makers....
Are you sure that you are using the same mock maker? Java 17 imposes some limitations that we can only address with the inline mock maker. The reason your breakpoints...
In this case, the inline mock maker is used. It is true that the get meta class method is not mocked as it breaks many things. Did you declare your...
We use the same generated classes for both spy and mock classes. This is why we had to unify the behaviour. Internally, a spy is nothing but a mock with...
I think that it does not correctly resolve the resource. The class loader is queried for getResourceAsStream(name). If this call returns null, the error in question is raised.
Possibly, but this would require a detection run prior. There's not much of a point, in my opinion, to run one-off tests with Graal native image, though. The efficiency comes...
You are right, that's a use case. We will only be able to support Graal native image with the subclass mock maker for now, unfortunately, which requires a bunch of...
This would absolutely be possible. The way to do it is about as follows: 1. Attach a Java agent to the current process to get hold of an instance of...
Yes, for overriding a package-private method, the subclass must be defined by the same class loader. Just as with classes, packages are just considered equal if they are by the...
The problem is that the related class loader methods are always modularized since Java 9. At the same time, setting methods accessible has no effect on the byte code dispatch....