Index: src/org/python/core/PyJavaType.java =================================================================== --- src/org/python/core/PyJavaType.java (revision 6255) +++ src/org/python/core/PyJavaType.java (working copy) @@ -226,14 +226,15 @@ Map events = Generic.map(); Method[] methods; if (Options.respectJavaAccessibility) { - // returns just the public methods - methods = forClass.getMethods(); - } else { - methods = forClass.getDeclaredMethods(); - for (Method method : methods) { - method.setAccessible(true); + // Make all the methods public so that getMethods will + // do-the-right-thing + for (Class c=forClass; c != null; c=c.getSuperclass()) { + for (Method meth : c.getDeclaredMethods()) { + meth.setAccessible(true); + } } } + methods = forClass.getMethods(); boolean isInAwt = name.startsWith("java.awt.") && name.indexOf('.', 9) == -1; for (Method meth : methods) {