Hi I need to access a private method
String getFoo(X509Certificate cert) of A.java in
junit testing in my project ,I have written the code like this –
I am getting an error when running
ant test
C:\Ajava:22: warning: [rawtypes] found raw type: Class
[javac] Class[] paramVal = new Class[1];
[javac] ^
[javac] missing type arguments for generic class Class<T>
[javac] where T is a type-variable:
[javac] T extends Object declared in class Class
[javac] C:\A.java:22: warning: [rawtypes] found raw type: Class
[javac] Class[] paramVal= new Class[1];
[javac] ^
[javac] missing type arguments for generic class Class<T>
[javac] where T is a type-variable:
[javac] T extends Object declared in class Class
[javac] error: warnings found and -Werror specified
[javac] 1 error
[javac] 2 warnings
What will be the solution for this?
Thanks