No bug filed.  Update dependency GAVs

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@9736 761efcf2-d34d-6b61-9145-99dcacc3edf1
Update javax.inject dependency to released artifact (version 1)

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@9740 761efcf2-d34d-6b61-9145-99dcacc3edf1
<< http://java.net/jira/browse/JAVASERVERFACES-1677 >>


SECTION: Modified Files
----------------------------
M       jsf-ri/src/main/java/com/sun/faces/renderkit/html_basic/ScriptStyleBaseRenderer.java
---- encodeBegin method:
---- ScriptStyleBaseRenderer attempts to ensure that #{cc} EL context is set up for components that it
---- relocates to the UIViewRoot. This results in calls to findComponent() in order to locate the composite
---- component at render time.  findComponent() is called even if ccID is null



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

<< http://java.net/jira/browse/JAVASERVERFACES-2336 >>


SECTION: Modified Files
----------------------------
M       jsf-ri/src/main/java/com/sun/faces/facelets/util/Classpath.java
---- Remove setDefaultUseCaches(false)
---- The method in this ckass still calls setUseCaches(false) which will apply to the
---- current URLConnection (not all URLConnections).
M       jsf-test/build.xml
---- Added test case.

A       jsf-test/JAVASERVERFACES-2336
A       jsf-test/JAVASERVERFACES-2336/htmlunit
A       jsf-test/JAVASERVERFACES-2336/htmlunit/src
A       jsf-test/JAVASERVERFACES-2336/htmlunit/src/main
A       jsf-test/JAVASERVERFACES-2336/htmlunit/src/main/java
A       jsf-test/JAVASERVERFACES-2336/htmlunit/src/main/java/com
A       jsf-test/JAVASERVERFACES-2336/htmlunit/src/main/java/com/sun
A       jsf-test/JAVASERVERFACES-2336/htmlunit/src/main/java/com/sun/faces
A       jsf-test/JAVASERVERFACES-2336/htmlunit/src/main/java/com/sun/faces/systest
A       jsf-test/JAVASERVERFACES-2336/htmlunit/src/main/java/com/sun/faces/systest/Issue2336TestCase.java
A       jsf-test/JAVASERVERFACES-2336/htmlunit/pom.xml
A       jsf-test/JAVASERVERFACES-2336/i_jsf_2336
A       jsf-test/JAVASERVERFACES-2336/i_jsf_2336/src
A       jsf-test/JAVASERVERFACES-2336/i_jsf_2336/src/main
A       jsf-test/JAVASERVERFACES-2336/i_jsf_2336/src/main/java
A       jsf-test/JAVASERVERFACES-2336/i_jsf_2336/src/main/java/i_jsf_2336
A       jsf-test/JAVASERVERFACES-2336/i_jsf_2336/src/main/java/i_jsf_2336/TestBean.java
A       jsf-test/JAVASERVERFACES-2336/i_jsf_2336/src/main/Main1.iml
A       jsf-test/JAVASERVERFACES-2336/i_jsf_2336/src/main/webapp
A       jsf-test/JAVASERVERFACES-2336/i_jsf_2336/src/main/webapp/WEB-INF
A       jsf-test/JAVASERVERFACES-2336/i_jsf_2336/src/main/webapp/WEB-INF/web.xml
A       jsf-test/JAVASERVERFACES-2336/i_jsf_2336/src/main/webapp/UseCacheTest.xhtml
A       jsf-test/JAVASERVERFACES-2336/i_jsf_2336/pom.xml
A       jsf-test/JAVASERVERFACES-2336/build.xml
---- New Test Module.
---- The managed bean will open a URLConnection and test that URLConnection.getUseCaches
---- and URLConnection.getDefaultUseCaches does not return false.


git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@9757 761efcf2-d34d-6b61-9145-99dcacc3edf1
remove JAVASERVERFACES-2336 as it does not execute as expected

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@9759 761efcf2-d34d-6b61-9145-99dcacc3edf1
remove JAVASERVERFACES-2336

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@9760 761efcf2-d34d-6b61-9145-99dcacc3edf1
Fixes http://java.net/jira/browse/JAVASERVERFACES-2277, r=rogerk, Acquire the session early if it server-side state saving is used and the viewroot is NOT flagged transient.

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@9765 761efcf2-d34d-6b61-9145-99dcacc3edf1
Fixes http://java.net/jira/browse/JAVASERVERFACES-2277, fixes broken tests

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@9767 761efcf2-d34d-6b61-9145-99dcacc3edf1
<< http://java.net/jira/browse/JAVASERVERFACES-2347 >>


SECTION: Modified Files
----------------------------
M       jsf-ri/src/main/java/com/sun/faces/facelets/tag/jsf/ActionSourceRule.java
---- add code to handle zero arg signatures

M       jsf-test/build.xml
--- added test

A       jsf-test/JAVASERVERFACES-2347
A       jsf-test/JAVASERVERFACES-2347/htmlunit
A       jsf-test/JAVASERVERFACES-2347/htmlunit/src
A       jsf-test/JAVASERVERFACES-2347/htmlunit/src/main
A       jsf-test/JAVASERVERFACES-2347/htmlunit/src/main/java
A       jsf-test/JAVASERVERFACES-2347/htmlunit/src/main/java/com
A       jsf-test/JAVASERVERFACES-2347/htmlunit/src/main/java/com/sun
A       jsf-test/JAVASERVERFACES-2347/htmlunit/src/main/java/com/sun/faces
A       jsf-test/JAVASERVERFACES-2347/htmlunit/src/main/java/com/sun/faces/systest
A       jsf-test/JAVASERVERFACES-2347/htmlunit/src/main/java/com/sun/faces/systest/Issue2347TestCase.java
A       jsf-test/JAVASERVERFACES-2347/htmlunit/pom.xml
A       jsf-test/JAVASERVERFACES-2347/i_jsf_2347
A       jsf-test/JAVASERVERFACES-2347/i_jsf_2347/src
A       jsf-test/JAVASERVERFACES-2347/i_jsf_2347/src/main
A       jsf-test/JAVASERVERFACES-2347/i_jsf_2347/src/main/java
A       jsf-test/JAVASERVERFACES-2347/i_jsf_2347/src/main/java/i_jsf_2347
A       jsf-test/JAVASERVERFACES-2347/i_jsf_2347/src/main/java/i_jsf_2347/ActionListenerBean.java
A       jsf-test/JAVASERVERFACES-2347/i_jsf_2347/src/main/webapp
A       jsf-test/JAVASERVERFACES-2347/i_jsf_2347/src/main/webapp/WEB-INF
A       jsf-test/JAVASERVERFACES-2347/i_jsf_2347/src/main/webapp/WEB-INF/web.xml
A       jsf-test/JAVASERVERFACES-2347/i_jsf_2347/src/main/webapp/actionlistener.xhtml
A       jsf-test/JAVASERVERFACES-2347/i_jsf_2347/src/main/webapp/include.xhtml
A       jsf-test/JAVASERVERFACES-2347/i_jsf_2347/pom.xml
A       jsf-test/JAVASERVERFACES-2347/build.xml
---- test case.




git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@9770 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-2346

r9766 | edburns | 2012-03-15 04:59:02 -0700 (Thu, 15 Mar 2012) | 45 lines

Fix all occurrences of FindBugs DM_DEFAULT_ENCODING warning.

Found a call to a method which will perform a byte to String (or
String to byte) conversion, and will assume that the default platform
encoding is suitable. This will cause the application behaviour to
vary between platforms. Use an alternative API and specify a charset
name or Charset object explicitly.

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

[project @ 2006-05-10 20:03:22 by rogerk]
Issue number: 315
Obtained from:
Submitted by: rogerk
Reviewed by: rlubke
-now contains content type constants/encoding from RenderKitImpl
-remove CONTENT_TYPE_IS_* constants
-move content type constants/encoing to RIConstants
-reference new RIConstants content types/encoding
-no need to set request param for content type
-determine xhtml content typ from writer.getContentType()

Original author: rogerk

    5 years, 10 months, 5 days ago, the CHAR_ENCODING field of this class
    was created and set to "ISO-8859-1". Now it's time to move to "UTF-8".

M jsf-ri/src/main/java/com/sun/faces/facelets/impl/DefaultFaceletFactory.java
M jsf-ri/src/main/java/com/sun/faces/facelets/compiler/SAXCompiler.java
M jsf-ri/src/main/java/com/sun/faces/facelets/util/DevTools.java
M jsf-ri/src/main/java/com/sun/faces/renderkit/ClientSideStateHelper.java
M jsf-ri/src/main/java/com/sun/faces/spi/InjectionProviderFactory.java
M jsf-ri/src/main/java/com/sun/faces/spi/ServiceFactory.java
M jsf-ri/src/main/java/com/sun/faces/scripting/groovy/GroovyScriptManager.java
M jsf-ri/src/main/java/com/sun/faces/application/ConverterPropertyEditorFactory.java
M jsf-ri/src/main/java/com/sun/faces/config/ConfigManager.java
M jsf-ri/src/main/java/com/sun/faces/config/JavaClassScanningAnnotationScanner.java
M jsf-ri/src/main/java/com/sun/faces/util/DebugUtil.java
M jsf-ri/src/main/java/com/sun/faces/util/HtmlUtils.java
M jsf-api/src/main/java/javax/faces/FactoryFinder.java

    Use UTF-8 whenever the DM_DEFAULT_ENCODING warning was found.


git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@9773 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-2361


SECTION: Modified Files
----------------------------
M       jsf-ri/src/main/java/com/sun/faces/vendor/WebContainerInjectionProvider.java
---- Discovery of PostConstruct/PreDestroy annotations on UIComponent needs to be cached since JDK doesn't.



git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@9787 761efcf2-d34d-6b61-9145-99dcacc3edf1
Disabling test since it is causing problems on Windows

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@9789 761efcf2-d34d-6b61-9145-99dcacc3edf1
First tests using EasyMock

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@9800 761efcf2-d34d-6b61-9145-99dcacc3edf1
Ignoring java and resources directory since we unpack those

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@9801 761efcf2-d34d-6b61-9145-99dcacc3edf1
Making sure we trigger at the correct lifecycle phase

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@9802 761efcf2-d34d-6b61-9145-99dcacc3edf1
Hopefully making sure it ends up in the correct directory

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@9803 761efcf2-d34d-6b61-9145-99dcacc3edf1
Added test for seeing if state was null. We should be restoring null.

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@9804 761efcf2-d34d-6b61-9145-99dcacc3edf1
Added a full state save and restore example.

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@9805 761efcf2-d34d-6b61-9145-99dcacc3edf1
Added xml and html reports.

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@9806 761efcf2-d34d-6b61-9145-99dcacc3edf1
<< ADD DESCRIPTION HERE http://java.net/jira/browse/JAVASERVERFACES-2371 >>


SECTION: Modified Files
----------------------------
M       jsf-ri/src/main/java/com/sun/faces/context/StateContext.java
---- handleRemove, handleAdd methods: do not remove or add dynamic component
---- from remove, add lists if the component has a transient component ancestor.
---- Added method hasTransientAncestor that determines if there is a transient
---- ancestor component for a given component.
M       jsf-ri/src/main/java/com/sun/faces/application/view/StateManagementStrategyImpl.java
---- saveView method: if the current component that is being visited is transient,
---- return VisitResult.REJECT - this cause the current transient component and
---- its children (as in a subtree) not to be state saved.
M       test/agnostic/pom.xml
---- Added statesaving test module

A       test/agnostic/stateSaving
A       test/agnostic/stateSaving/src
A       test/agnostic/stateSaving/src/test
A       test/agnostic/stateSaving/src/test/java
A       test/agnostic/stateSaving/src/test/java/com
A       test/agnostic/stateSaving/src/test/java/com/sun
A       test/agnostic/stateSaving/src/test/java/com/sun/faces
A       test/agnostic/stateSaving/src/test/java/com/sun/faces/test
A       test/agnostic/stateSaving/src/test/java/com/sun/faces/test/agnostic
A       test/agnostic/stateSaving/src/test/java/com/sun/faces/test/agnostic/statesaving
A       test/agnostic/stateSaving/src/test/java/com/sun/faces/test/agnostic/statesaving/Issue2371IT.java
A       test/agnostic/stateSaving/src/main
A       test/agnostic/stateSaving/src/main/java
A       test/agnostic/stateSaving/src/main/java/com
A       test/agnostic/stateSaving/src/main/java/com/sun
A       test/agnostic/stateSaving/src/main/java/com/sun/faces
A       test/agnostic/stateSaving/src/main/java/com/sun/faces/test
A       test/agnostic/stateSaving/src/main/java/com/sun/faces/test/agnostic
A       test/agnostic/stateSaving/src/main/java/com/sun/faces/test/agnostic/statesaving
A       test/agnostic/stateSaving/src/main/java/com/sun/faces/test/agnostic/statesaving/SimplePhaseListener.java
A       test/agnostic/stateSaving/src/main/java/com/sun/faces/test/agnostic/statesaving/StateBean.java
A       test/agnostic/stateSaving/src/main/resources
A       test/agnostic/stateSaving/src/main/webapp
A       test/agnostic/stateSaving/src/main/webapp/WEB-INF
A       test/agnostic/stateSaving/src/main/webapp/WEB-INF/faces-config.xml
A       test/agnostic/stateSaving/src/main/webapp/WEB-INF/web.xml
A       test/agnostic/stateSaving/src/main/webapp/WEB-INF/glassfish-web.xml
A       test/agnostic/stateSaving/src/main/webapp/transientParent.xhtml
A       test/agnostic/stateSaving/pom.xml
---- New Test.
---- This test consists of a page containing a button and a panel group (place holder).
---- The button has an action listener.  The action listener method creates a
---- transient panel group containing a non-transient output text (child).
---- The transient panel group is added to the panel group place holder.
---- The end result is that there is a subtree with a transient root component.
---- The test also has a phase listener that listens for after restore view phase
---- and after invoke applications phase events. The view is examined to ensure that
---- the subtree exists after invoke applications phase, but does not exist after
---- the subsequent restore view phase (indicating the transient subtree was not
---- state saved and restored).




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