private static Method getFileType;
/** The openURL method of com.apple.mrj.MRJFileUtils */
- private static Method openURL;
+ private static Method openURLm;
/** The makeOSType method of com.apple.MacOS.OSUtils */
private static Method makeOSType;
case MRJ_3_1:
try {
mrjFileUtilsClass = Class.forName("com.apple.mrj.MRJFileUtils");
- openURL = mrjFileUtilsClass.getDeclaredMethod("openURL", new Class[] { String.class });
+ openURLm = mrjFileUtilsClass.getDeclaredMethod("openURL", new Class[] { String.class });
} catch (ClassNotFoundException cnfe) {
errorMessage = cnfe.getMessage();
return false;
break;
case MRJ_3_1:
try {
- openURL.invoke(null, new Object[] { url });
+ openURLm.invoke(null, new Object[] { url });
} catch (InvocationTargetException ite) {
throw new IOException("InvocationTargetException while calling openURL: " + ite.getMessage());
} catch (IllegalAccessException iae) {