workaround wrappers for AWT
fixing a permission bug in beanshell's resolveJavaMethod which would attempt to setAccessible without accessibility
small changes to test code