rename to 2.0.10

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_0X_ROLLING@10211 761efcf2-d34d-6b61-9145-99dcacc3edf1
Bugdb 14186869

- Old solution for issue JAVASERVERFACES-1895, JAVASERVERFACES-1730,
  JAVASERVERFACES-1820 was never effective.  This solution avoids the
  problem entirely by removing the usage of the ThreadLocal using two
  techniques:

  a) Pass the ApplicationMap (a map around the ServletContext attr set)
     around on the callstack.

  b) Avoid the issue entirely because it is safe to do so due to
     non-existent or ignorable usage of the methods involved.

1610 automated tests pass.  This is the same number on the last
successful run of the hudson job on the MOJARRA_2_0X_ROLLING branch.

SECTION: Modified Files
----------------------------
M       jsf-ri/src/main/java/com/sun/faces/util/Util.java

- This is the big change in this bundle.  Delete the problematic
  nonFacesContextApplicationMap entirely.  Change all previous paths to
  that data structure accordingly.

M       jsf-ri/src/main/java/com/sun/faces/context/UrlBuilder.java
M       jsf-ri/src/main/java/com/sun/faces/context/PartialViewContextImpl.java
M       jsf-ri/src/main/java/com/sun/faces/facelets/tag/composite/AttachedObjectTargetImpl.java
M       jsf-ri/src/main/java/com/sun/faces/renderkit/html_basic/BaseTableRenderer.java
M       jsf-ri/src/main/java/com/sun/faces/renderkit/html_basic/TableRenderer.java
M       jsf-ri/src/main/java/com/sun/faces/renderkit/RenderKitUtils.java
M       jsf-ri/src/main/java/com/sun/faces/renderkit/RenderKitImpl.java
M       jsf-ri/src/main/java/com/sun/faces/spi/InjectionProviderFactory.java
M       jsf-ri/src/main/java/com/sun/faces/el/ResourceELResolver.java
M       jsf-ri/src/main/java/com/sun/faces/application/ApplicationAssociate.java
M       jsf-ri/src/main/java/com/sun/faces/application/resource/ResourceManager.java
M       jsf-ri/src/main/java/com/sun/faces/application/resource/ResourceHandlerImpl.java
M       jsf-ri/src/main/java/com/sun/faces/application/resource/ResourceHelper.java
M       jsf-ri/src/main/java/com/sun/faces/application/NavigationHandlerImpl.java
M       jsf-ri/src/main/java/com/sun/faces/application/view/FaceletViewHandlingStrategy.java
M       jsf-ri/src/main/java/com/sun/faces/application/ViewHandlerImpl.java
M       jsf-ri/src/main/java/com/sun/faces/config/AnnotationScanner.java
M       jsf-ri/src/main/java/com/sun/faces/config/WebConfiguration.java

a) Most of these actually use FacesContext.getCurrentInstance(), but
   it's safe to do so because I've manually verified that all cases
   above will have a FacesContext available on the Thread.  

   Some of the cases already have the FacesContext available, in which
   case there is no ThreadLocal access.

M       jsf-ri/src/main/java/com/sun/faces/taglib/html_basic/HtmlBasicValidator.java
M       jsf-ri/src/main/java/com/sun/faces/taglib/jsf_core/CoreValidator.java
M       jsf-ri/src/main/java/com/sun/faces/config/ConfigureListener.java

b) These callsites only provided a nominal performance boost in the
  first place, so removing them is acceptable in return for fixing the
  ThreadLocal leak.


git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_0X_ROLLING@10224 761efcf2-d34d-6b61-9145-99dcacc3edf1