Hello,

while running some tests of HV with a Java security manager enabled I
stumbled upon a java.security.AccessControlException caused
by org.hibernate.ejb.util.PersistenceUtilHelper#setAccessibility() due to a
missing ReflectPermission.

I think the call to setAccessible() should be executed using a
PrivilegedAction similar to the implementation in
org.hibernate.validator.util.ReflectionHelper#setAccessibility().

Should I add a JIRA ticket for this?

Gunnar
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to