< prev index next >

src/com/sun/javatest/tool/HelpExternalLink.java

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

@@ -72,11 +72,11 @@
                     // rundll32 allows to open a file in appropriate default application
                     Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + url);
                 } else if (os.startsWith("Mac OS")) {
                     Class<?> fileMgr = Class.forName("com.apple.eio.FileManager");
                     Method openURL = fileMgr.getDeclaredMethod("openURL",
-                            new Class[]{String.class});
+                            new Class<?>[]{String.class});
                     openURL.invoke(null, new Object[]{url});
                 } else {
                     String[] commands = {
                         // xdg-open is used on some linux systems to open files types in default applications
                         "xdg-open", "firefox", "opera", "konqueror", "epiphany", "mozilla", "netscape"};
< prev index next >