[
https://issues.apache.org/jira/browse/OPENJPA-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737888#action_12737888
]
Albert Lee commented on OPENJPA-1206:
-------------------------------------
Changes are committed under svn r799155 and r799013.
Due to incorrect comment prefix (i.e. OENJPA-1206), these changes are not being
logged in this JIRA's "committed version" history.
> Bean validation call to provider not Java 2 Enabled
> ---------------------------------------------------
>
> Key: OPENJPA-1206
> URL: https://issues.apache.org/jira/browse/OPENJPA-1206
> Project: OpenJPA
> Issue Type: Bug
> Components: validation
> Affects Versions: 2.0.0-M2, 2.0.0
> Reporter: Albert Lee
> Assignee: Albert Lee
> Fix For: 2.0.0-M2, 2.0.0
>
>
> With Java 2 security enabled, Bean validation processing caused following
> security violation exception.
> java.security.AccessControlException: Access denied
> (java.lang.RuntimePermission accessDeclaredMembers)
> at
> java.security.AccessController.checkPermission(AccessController.java:108)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
> at
> com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:211)
> at
> java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:1664)
> at java.lang.Class.checkMemberAccess(Class.java:109)
> at java.lang.Class.getDeclaredMethods(Class.java:673)
> ......... BV provider call path........
> at
> org.apache.openjpa.persistence.validation.ValidatorImpl.validate(ValidatorImpl.java:289)
> at
> org.apache.openjpa.validation.ValidatingLifecycleEventManager.fireEvent(ValidatingLifecycleEventManager.java:122)
> at
> org.apache.openjpa.kernel.BrokerImpl.fireLifecycleEvent(BrokerImpl.java:788)
> at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2538)
> at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2390)
> at
> org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1039)
> at
> org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:692)
> Albert Lee.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.