Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8213017

jspawnhelper: need to handle pipe write failure when sending return code

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b18

      Backports

        Description

        jspawnhelper reports error codes back to the parent via pipe.

        That write may fail. We do not check the return code. On Linux, where I test experimental posix_spawn support, gcc complains:

        /shared/projects/openjdk/jdk-jdk/source/src/java.base/unix/native/jspawnhelper/jspawnhelper.c:52:5: error: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Werror=unused-result]



          Attachments

            Issue Links

              Activity

                People

                Assignee:
                stuefe Thomas Stuefe
                Reporter:
                stuefe Thomas Stuefe
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: