AL: override default access control in AL.getPathFromClassLoader

This commit is contained in:
Elias Naur 2005-02-18 08:17:27 +00:00
parent 2d4c68d037
commit 851c4d3129
1 changed files with 1 additions and 0 deletions

View File

@ -254,6 +254,7 @@ public final class AL {
while (c != null) {
try {
Method findLibrary = c.getDeclaredMethod("findLibrary", new Class[] { String.class });
findLibrary.setAccessible(true);
Object[] arguments = new Object[] { libname };
return (String)findLibrary.invoke(o, arguments);
} catch (NoSuchMethodException e) {