[richfaces-issues] [JBoss JIRA] Created: (RF-4537) Inifinte Loop in org.ajax4jsf.cache.ServletContextInitMap

David Holscher (JIRA) jira-events at lists.jboss.org
Thu Sep 25 09:06:20 EDT 2008


Inifinte Loop in org.ajax4jsf.cache.ServletContextInitMap
---------------------------------------------------------

                 Key: RF-4537
                 URL: https://jira.jboss.org/jira/browse/RF-4537
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.2
         Environment: WebSphere 7.0 (beta)
            Reporter: David Holscher


This code is triggered with enable-cache = true when running in WAS 7. It is an obvious infinite loop with the applicaiton has any context-params.

			public int size() {
				int result = 0;
				Enumeration<String> initNames = servletContext.getInitParameterNames();
				while (initNames.hasMoreElements()) {
					result++;
				}

				return result;
			}


-- 
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

        



More information about the richfaces-issues mailing list