-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For Faces 4.0 TCK Challenge issue [#1935] to use Date formats that are compatible with Java 21 #1939
For Faces 4.0 TCK Challenge issue [#1935] to use Date formats that are compatible with Java 21 #1939
Conversation
Signed-off-by: Scott Marlow <[email protected]>
I couldn't build this locally as I get failure with command
I tried running netstat but port 4848 seems available:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes look good to me. Will wait to merge for @arjantijms' take.
Does anyone know which version of Java changed the date formatting rules that created the need to specify |
Copying conversation from https://eclipsefoundationhq.slack.com/archives/C0131MLD538/p1720797042872349?thread_ts=1720446904.437519&cid=C0131MLD538
cc @BalusC |
I'm confused why we don't just backport c971c20? The current change basically breaks backwards compatibility with Java SE impls/versions where this CLDR change is not introduced. And when we are going to upmerge 4.x into master the existing change will be overwritten. |
@BalusC I couldn't test this pull request because I cannot build it. I also cannot build the The #1935 challenge is three weeks old now and I would like to certify WildFly on Java 21 as being Jakarta Faces 4.0 compatible (I'm looking to do this today if possible). From the TCK Process doc (Accepted Challenges):
From the TCK Process doc (Active Resolution)
If we cannot update the test or exclude it in a reasonable amount of time, I think the user workaround of ignoring the challenged test failures on Java 21+ would help as a short term workaround until someone can get the Faces 4.0.x branch to build. |
@arjantijms can you please confirm if we're allowed to backport c971c20 into 4.0 branch? I'm not sure what the rules are wrt doing changes in a live TCK branch. Shouldn't this be a 'challenge' or what? The current PR needs to be rejected because the TCK won't anymore pass when using a Java SE impl/version where this CLDR change is not introduced. The minimum Java SE requirement for TCK 4.0 is still Java SE 11. So it must be still compatible with Java SE 11. The change done in c971c20 (using a specific month whose full and short names are exactly the same, the month of May) ensures compatibility with previous Java SE impls/versions. |
Due to the nomadic history of Mojarra, some context has been lost on some of these tests. This test in particular seems really fragile. Why are we testing a specific date format? What part of the spec are we ensuring compatibility with, and can this not be handled in a more resilient fashion? Does anyone remember the history/genesis of this particular test? |
Agreed. See also eclipse-ee4j/mojarra#5399 and specifically my 2nd comment. It should have tested a fixed pattern instead of a "format style". |
As per #1935 apparently "the spec committee" needs to "grant us an exception to change the 4.0 tests". Once granted then we can backport c971c20 So the next step is to ask "the spec committee". I have however no clue how/where. @arjantijms should be able to do this. |
Signed-off-by: Scott Marlow <[email protected]>
e8fa0b1
to
70a1917
Compare
I pushed a small change to use
The TCK Process was updated so that the Faces Specification team can make the decision:
|
In the meantime we have simply allowed to exclude these tests for EE 10/Faces 4.0. Shall we close this PR? |
ok let's close off for now |
For Faces 4.0 TCK Challenge issue #1935 to use Date formats that are compatible with Java 21.
This change is similar to c971c20 but instead changed from
sept
toseptember
.