Rafael Winterhalter

Results 738 comments of Rafael Winterhalter

This does not quite make sense to me. Could you investigate how the methods get instrumented? Register an AgentBuilder.Listener, possibly some of the instrumentations are failing

Certainly, but this remains a problem in the official plugin.

Thanks, I'll run it on a project building on Windows CI.

The static initializer block does two things: - It attaches to the current VM such that an instance of `Instrumentation` is available. - It adds a dispatcher to the (unnamed...

I will look into it!

This should be straight-forward to add as: ```java InlineBytecodeGenerator.class.getModule().addReads(MockMethodDispatcher.class.getModule()); ``` in the last line of the constructor of `InlineBytecodeGenerator`. Also, we could replace all of the reflection logic around module-related...

What the code does is that it injects a class into the bootstrap class loader. This is needed to make it universally available for Mockito and for other classes that...

So, according to my own ideas, I think this should already do the trick: https://github.com/mockito/mockito/tree/module-prototype I suggest that we focus on mockito-core for now, and modularize the subprojects by themselves....

I created a branch and linked it. I have a setup to test Byte Buddy with modules, so I wanted to make some general testing with a solution that is...