This content has been marked as final. Show 3 replies
This problem has been reported as
BUG 6311332 - OJC ALLOWS WRONG PARAMTERS FOR COLLECTIONS.SORT(...)
This bug will be fixed with JDeveloper 11. (It is not yet fixed with the development 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.