Rafael Winterhalter

Results 738 comments of Rafael Winterhalter

We could possibly offer a convenience: public static MockedConstruction mockConstruction(Class classToMock, Class

If a chain is used, all arguments are temporarily stored as local variable. This is expected and will likely be ignored by the JIT, nothing to worry about. If you...

Yes, any other method implements such a handler, the chain method also offers a handler implementation itself. If you look at the source, you will be able to see how...

I improved the error message now. Can you improve this stabely? If so, try running withe the snapshot. If you look into the complied code, all of these values are...

I pushed to a branch by accident but now added the change to master. Could you run it? I do not have Windows available, unfortunately. I assume that this is...

The JIT compiler can be more deterministic than one thinks. Does the problem occur with Java 24-EA? it might be worth filing a bug.

Two thoughts: 1. Yes, we can try. I replaced the switch statement with an if/else. Could you try with the latest master? I cannot reproduce this bug on Linux, so...

I ran an too old VM, I guess, and got to reproduce it. I gave it another try with a different implementation and I think it is related to the...

I wanted to avoid mixing different datatypes (boolean, byte, short, char and int), I think that is where the JIT mixes things up somewhere and does not get the comparison...

Did you install some plugin in your IDE?