I have a package private MBean class, the StandardMBean interface is public though!
class WorkManager implements WorkManagerMBean
WorkManager is private
WorkManagerMBean is public
Unfortunatelly jboss jmx accesses the implementation directly, thus throwing an IllegalAccessException. If it would access the mbean via the provided interface this would not happen. (like jdk 5 is doing)