Missing Methods in Generics because of Optimization
If the compiler compiles with optimization, it can happen that it removes methods for generics although they are called later. I attached a demo project. Please note that you have to compile it with O1 or better.