< prev index next >

src/com/sun/javatest/junit/JUnitAnnotationMultiTest.java

Print this page
rev 145 : 7902237: Fixing raw use of parameterized class
Reviewed-by: jjg

@@ -80,11 +80,11 @@
      * Entry point for standalone mode.
      */
     protected void setup(String executeClass) {
 
         try {
-            Class junitTestCaseClass = getClassLoader().loadClass(executeClass);
+            Class<?> junitTestCaseClass = getClassLoader().loadClass(executeClass);
             testCaseClass = junitTestCaseClass;
 
 
         } catch (ClassNotFoundException e){
             log.println("Cannot find test: " + executeClass + " (" + exceptionToString(e) + ")");

@@ -93,7 +93,7 @@
 
     protected void printStackTrace(Throwable t) {
         t.printStackTrace(log);
     }
 
-    protected Class testCaseClass;
+    protected Class<?> testCaseClass;
 }
< prev index next >