[
https://jira.jboss.org/jira/browse/WBRI-392?page=com.atlassian.jira.plugi...
]
Takeshi Kondo updated WBRI-392:
-------------------------------
Attachment: AccessControlException.patch
I've escaped deploy error by ignoring AcessControllException.
Throws AccessControllException on GAE 1.2.5
-------------------------------------------
Key: WBRI-392
URL:
https://jira.jboss.org/jira/browse/WBRI-392
Project: Web Beans
Issue Type: Bug
Components: Bootstrap
Environment: GAE 1.2.5
Reporter: Takeshi Kondo
Attachments: AccessControlException.patch
On GAE SecurityManager throws AccessControlException when private class's
Class#getGenericSuperclass() method is called.
java.security.AccessControlException: access denied (java.lang.RuntimePermission
accessDeclaredMembers)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkMemberAccess(Unknown Source)
at java.lang.Class.checkMemberAccess(Unknown Source)
at java.lang.Class.getDeclaredMethods(Unknown Source)
at java.lang.Class.getEnclosingMethod(Unknown Source)
at sun.reflect.generics.scope.ClassScope.computeEnclosingScope(Unknown Source)
at sun.reflect.generics.scope.AbstractScope.getEnclosingScope(Unknown Source)
at sun.reflect.generics.scope.AbstractScope.lookup(Unknown Source)
at sun.reflect.generics.factory.CoreReflectionFactory.findTypeVariable(Unknown Source)
at sun.reflect.generics.visitor.Reifier.visitTypeVariableSignature(Unknown Source)
at sun.reflect.generics.tree.TypeVariableSignature.accept(Unknown Source)
at sun.reflect.generics.visitor.Reifier.reifyTypeArguments(Unknown Source)
at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Unknown Source)
at sun.reflect.generics.tree.ClassTypeSignature.accept(Unknown Source)
at sun.reflect.generics.repository.ClassRepository.getSuperclass(Unknown Source)
at java.lang.Class.getGenericSuperclass(Unknown Source)
at
org.jboss.webbeans.util.Reflections$HierarchyDiscovery.discoverFromClass(Reflections.java:132)
at
org.jboss.webbeans.util.Reflections$HierarchyDiscovery.discoverTypes(Reflections.java:98)
at
org.jboss.webbeans.util.Reflections$HierarchyDiscovery.getFlattenedTypes(Reflections.java:75)
at org.jboss.webbeans.BeanManagerImpl.resolveObserverMethods(BeanManagerImpl.java:570)
at org.jboss.webbeans.BeanManagerImpl.fireEvent(BeanManagerImpl.java:828)
at org.jboss.webbeans.bootstrap.BeanDeployer.addClass(BeanDeployer.java:61)
at org.jboss.webbeans.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:95)
at org.jboss.webbeans.bootstrap.BeanDeployment.deployBeans(BeanDeployment.java:126)
at
org.jboss.webbeans.bootstrap.WebBeansBootstrap.deployBeans(WebBeansBootstrap.java:267)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira