Rafael Winterhalter

Results 738 comments of Rafael Winterhalter

This seems to me like a bug in the Kotlin compiler which generates an invalid generic signature which again is not handled properly in the Java reflection utility. The `MockkMePlease`...

OpenJDK issue: https://bugs.openjdk.org/browse/JDK-8337302

This seems to be a long standing issue: https://github.com/mockito/mockito/issues/2302 Not sure if this can be avoided as it seems to be a security setting. Could you experiment a bit? I...

You can emulate this in different ways. This question was recently asked, have a look at my answer: https://github.com/raphw/byte-buddy/issues/1664

Requiring (non-annotation) types causes class loader issues, unfortunately. I do however not see how this sets any functional restrictions?

Not sure I follow and I cannot reproduce the behaviour bellow. Can you create a reproducer project that demonstrates this? It is fully possible that I overlooked a lazy resolution...

Maybe this could be an option for the cache as a wrapper, to never store illegal resolutions but to rather reattempt.

Byte Buddy's public API is fully immutable and therewith thread-safe. How are you using the API?

Any class will be transformed in the thread loading the class. If parallel class loading is supported, Byte Buddy will also modify classes in multiple threads.