-
Enhancement
-
Resolution: Fixed
-
P4
-
9
-
b49
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8082053 | emb-9 | Erik Joelsson | P4 | Resolved | Fixed | b49 |
In JDK-8065138 it was discovered that non zero return values of sed was ignored if the result of sed was piped to another process, which in turn had a zero return value. Having the build fail in this case would have been preferred. A way to achieve this would be to change the SHELL used by make to bash and enable the option pipefail. We should experiment with this and see if it can be done.
Note that we already require bash to build so it is already present on all build platforms, and it is used to run the log wrapper script.
It's quite possible that this will uncover other build failures that would then need to be fixed or handled appropriately.
Note that we already require bash to build so it is already present on all build platforms, and it is used to run the log wrapper script.
It's quite possible that this will uncover other build failures that would then need to be fixed or handled appropriately.
- backported by
-
JDK-8082053 Enable pipefail in the shell used by make to better detect build errors
-
- Resolved
-
- relates to
-
JDK-8065138 Encodings.isRecognizedEnconding sometimes fails to recognize 'UTF8'
-
- Closed
-