You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by GitBox <gi...@apache.org> on 2020/04/20 01:57:30 UTC
[GitHub] [struts] JCgH4164838Gh792C124B5 opened a new pull request #404: Initial fix for WW-5069 (improve build behaviour JDK9+)
JCgH4164838Gh792C124B5 opened a new pull request #404:
URL: https://github.com/apache/struts/pull/404
Initial fix for WW-5069:
- Force US Locale for two tests that use date strings of the form MM/DD/CCYY.
- When the tests/build are run in an environment with a non-US Locale and newer JDKs the tests may fail due to inability to parse the US date format.
Note: Was noticed on Windows 10 with JDK11, but could affect other environments when run in a non-US Locale.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
[GitHub] [struts] JCgH4164838Gh792C124B5 commented on issue #404: Initial fix for WW-5069 (improve build behaviour JDK9+)
Posted by GitBox <gi...@apache.org>.
JCgH4164838Gh792C124B5 commented on issue #404:
URL: https://github.com/apache/struts/pull/404#issuecomment-616271172
Hello Apache Struts Team.
This is a very basic PR (it was just a bit-of-a-pain to isolate the issue).
Basically, the default locale behaviour for some date validation tests differs for JDK7/8 compared to newer JDKs (such as JDK 11). When running the tests in a non-US locale some date validation unit tests can fail, causing the Struts 2 Core build to fail.
The proposed improvement is to ensure the affected unit tests utilize the expected US locale to process the MM/DD/CCYY formats as expected. Now they should work as intended on JDK7+, even if the base system's locale is not US.
**Note**: Windows 10 with JDK 11 (OpenJDK and Oracle) still appear to fail during a full Struts 2 build due to an apache-rat-plugin failure. I was forced to locally use "-Drat.skip=true" to verify the full build with JDK11, but the Core build by itself passed fine).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
[GitHub] [struts] coveralls commented on issue #404: Initial fix for WW-5069 (improve build behaviour JDK9+)
Posted by GitBox <gi...@apache.org>.
coveralls commented on issue #404:
URL: https://github.com/apache/struts/pull/404#issuecomment-616270788
[](https://coveralls.io/builds/30183114)
Coverage remained the same at 47.069% when pulling **6d6a422db7950634ae5bfbc2153e27ae056adaff on JCgH4164838Gh792C124B5:WW-5069** into **f4c01358780ec6d5002d6a26c826ebe49d98652e on apache:struts-2-5-x**.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
[GitHub] [struts] lukaszlenart commented on issue #404: Initial fix for WW-5069 (improve build behaviour JDK9+)
Posted by GitBox <gi...@apache.org>.
lukaszlenart commented on issue #404:
URL: https://github.com/apache/struts/pull/404#issuecomment-616317694
LGTM 👍
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org