From c44efd9b63fad8abb44189a1996ab937ad322af0 Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 14 Apr 2004 07:06:50 +0000 Subject: [PATCH] workaround for gcj bug regarding static methods and members darcs-hash:20040414070650-5007d-91def382fc14b9b3123552d2b627b91e6fa0753a.gz --- src/org/ibex/util/EjAlbertBrowserLauncher.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/org/ibex/util/EjAlbertBrowserLauncher.java b/src/org/ibex/util/EjAlbertBrowserLauncher.java index a2bb059..cf46138 100644 --- a/src/org/ibex/util/EjAlbertBrowserLauncher.java +++ b/src/org/ibex/util/EjAlbertBrowserLauncher.java @@ -98,7 +98,7 @@ public class EjAlbertBrowserLauncher { 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; @@ -339,7 +339,7 @@ public class EjAlbertBrowserLauncher { 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; @@ -522,7 +522,7 @@ public class EjAlbertBrowserLauncher { 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) { -- 1.7.10.4