I have the code, where methods is overlays with List<> arguments
RetrunType1 func(List<Type1> arg);
ReturnType2 func(List<Type2> arg);
and Type1!=Type2, but that code compile and work fine on jdk1.6.0_45. I know that this sample don't compile and work. How I can understand that?