Hi,
ok, I'll provide a patch for this and attach it to a new JIRA issue I'll
create then. But for now I'm focusing on HV 4.2 beta1 :-)
Gunnar
2011/1/10 Emmanuel Bernard <emmanuel(a)hibernate.org>
Well, I am not sure Hibernate properly works under a SecurityManager
as we
have not done the work we did on HV but I guess we could slowly try and
protect such calls. Open a JIRA and even better, fork and pull ;)
On 9 janv. 2011, at 13:16, Gunnar Morling wrote:
> 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(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/hibernate-dev