projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f9ad8c7
)
workaround for gcj bug regarding static methods and members
author
adam
<adam@megacz.com>
Wed, 14 Apr 2004 07:06:50 +0000
(07:06 +0000)
committer
adam
<adam@megacz.com>
Wed, 14 Apr 2004 07:06:50 +0000
(07:06 +0000)
darcs-hash:
20040414070650
-5007d-
91def382fc14b9b3123552d2b627b91e6fa0753a
.gz
src/org/ibex/util/EjAlbertBrowserLauncher.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/util/EjAlbertBrowserLauncher.java
b/src/org/ibex/util/EjAlbertBrowserLauncher.java
index
a2bb059
..
cf46138
100644
(file)
--- 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 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;
/** 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");
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;
} catch (ClassNotFoundException cnfe) {
errorMessage = cnfe.getMessage();
return false;
@@
-522,7
+522,7
@@
public class EjAlbertBrowserLauncher {
break;
case MRJ_3_1:
try {
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) {
} catch (InvocationTargetException ite) {
throw new IOException("InvocationTargetException while calling openURL: " + ite.getMessage());
} catch (IllegalAccessException iae) {