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

chdir() and write() errors are not handled in jpackage

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      In libapplauncher chdir() is called in LinuxPlatform::SetCurrentDirectory() and PosixPlatform::SetCurrentDirectory(), write() is called in PosixProcess::SetInput(). Return code is ignored currently.
      Launcher should exit with an error if such calls were not successful.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              herrick Andy Herrick
              Reporter:
              dchuyko Dmitry Chuyko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: