Hi Team,
We are in the process of fixing the compilation issues and test runs in Jakarta Faces TCK that is built from jakartaee-tck project repository[1]. From the current build issues it seems like below are the immediate fixes
that is required for a clean build of the TCK (Issue tracked [3]).
-
src/com/sun/ts/tests/jsf/common/statemanager/TCKStateManager.java needs to use a different constructor, as old one without arguments in StateManagerWrapper was deprecated.
-
Below are the old classes/methods and possible replacements :
-
jakarta.faces.el.ReferenceSyntaxException -> jakarta.el.ELException
-
jakarta.faces.el.MethodBinding -> jakarta.el.MethodExpression
-
createMethodBinding -> createMethodExpression
-
jakarta.faces.el.ValueBinding -> jakarta.el.ValueExpression
-
createValueBinding -> createValueExpression
-
jakarta.faces.bean.ApplicationScoped -> jakarta.enterprise.context.ApplicationScoped
-
jakarta.faces.bean.ManagedBean -> change to CDI bean(?)
Any suggestions and comments to fix them in [1] are welcome especially with a sample change to use CDI bean instead of ManagedBean.
Also there was a discussion some time back to create new Faces TCK and/or update the TCK to remove JSP support. Is there a new TCK that is created which contains the tests from jakartaee-tck repo and could be used as
replacement for the Jakarta Faces TCK ?
I know lot of work is being done in [2] . Can this TCK be used for 4.0.0 instead of the Jakarta Faces TCK from [1] ?
[1]
https://github.com/eclipse-ee4j/jakartaee-tck
[2]
https://github.com/eclipse-ee4j/mojarra/tree/master/test2
[3]
https://github.com/eclipse-ee4j/jakartaee-tck/issues/807