This content has been marked as final. Show 3 replies
This problem has been reported as
BUG 6311285 - OJC ALLOWS CASTING OF GENERIC OF IMPL CLASS TO GENERIC OF INTERFACE CLASS
A fix is already included with
JDeveloper 11.1 Developer Preview
As a workaround you can use javac instead of ojc for compilation. javac will report such wrong assignments. You need to compile with ojc only if you want to use JDeveloper profiling or code coach.