[jboss-jira] [JBoss JIRA] Resolved: (JBAS-3439) DelegatingPolicy: preload of ContextPolicy required for jrockit
Anil Saldhana (JIRA)
jira-events at jboss.com
Tue Aug 8 00:27:12 EDT 2006
[ http://jira.jboss.com/jira/browse/JBAS-3439?page=all ]
Anil Saldhana resolved JBAS-3439.
---------------------------------
Resolution: Done
Since this change requires a simple preload of the ContextPolicy class, I have made the change.
But if there are going to be a lot of VM related whims in JBoss codebase, we will have to consider a strategy to minimize spaghetti and maintain sanity.
> DelegatingPolicy: preload of ContextPolicy required for jrockit
> ----------------------------------------------------------------
>
> Key: JBAS-3439
> URL: http://jira.jboss.com/jira/browse/JBAS-3439
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: ClassLoading
> Affects Versions: JBossAS-4.0.4.GA
> Environment: # java -version
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> BEA JRockit(R) (build R26.4.0-63-63688-1.5.0_06-20060626-2259-linux-ia32, )
> Reporter: Ralph Apel
> Assigned To: Anil Saldhana
> Fix For: JBossAS-4.0.5.CR1
>
> Attachments: DelegatingPolicy.patch
>
>
> org.jboss.security.jacc.DelegatingPolicy already contains certain special actions in its constructor to preload certain classes (see this constructor's extensive comments).
> For DelegatingPolicy to work with jrockit and not have all jacc+securitymgr tests failing with
> java.lang.NoClassDefFoundError: org/jboss/security/jacc/ContextPolicy
> ContextPolicy must also be preloaded within the constructor (just like PolicyContext.class is already).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list