summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-07-16 12:01:56 (EDT)
committerEike Stepper2007-07-16 12:01:56 (EDT)
commitcc904e061d7f86d60caf95e10a31c8ad55f7ea5f (patch)
treef293b70b8202cf01931f80baffa355acaa48bf50
parent9da2ca0ee937abcb293c78192a951fee3e383eb8 (diff)
downloadcdo-cc904e061d7f86d60caf95e10a31c8ad55f7ea5f.zip
cdo-cc904e061d7f86d60caf95e10a31c8ad55f7ea5f.tar.gz
cdo-cc904e061d7f86d60caf95e10a31c8ad55f7ea5f.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/bundle/AbstractBundle.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/bundle/AbstractBundle.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/bundle/AbstractBundle.java
index 77f10fa..343105e 100644
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/bundle/AbstractBundle.java
+++ b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/bundle/AbstractBundle.java
@@ -359,12 +359,20 @@ public abstract class AbstractBundle implements OMBundle
{
try
{
- Method method = accessor.getMethod(name, ReflectUtil.NO_PARAMETERS);
+ Method method = accessor.getDeclaredMethod(name, ReflectUtil.NO_PARAMETERS);
+ if (!method.isAccessible())
+ {
+ method.setAccessible(true);
+ }
+
method.invoke(null, ReflectUtil.NO_ARGUMENTS);
}
catch (NoSuchMethodException ignore)
{
}
+ catch (IllegalAccessException ignore)
+ {
+ }
catch (InvocationTargetException ex)
{
Throwable targetException = ex.getTargetException();