Clone() declared in an interface is not accessible in another class.
I am compiling my code on Jdk1.7 and getting below compilation error :
error: clone() in MyInterface is defined in an inaccessible class or interface
MyInteface is extending Map interface.
While I am able to compile on Jdk1.7.
Can anyone help me to find out the solution, how can i use rawtype collection and compile my code on jdk1.7 .