Can the JDWP process management file descriptor handling be more robust?

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: core-svc
    • None

      jThis is a follow up to JDK-8324668.

      Try to make this code as robust as possible:

      #1 - what to do with errors from "close()"?

      #2 - do we even want to bother with the fallback code if opendir() fails, or should opendir() be expected to never fail and therefore any failure should be fatal.

      #3 - would “fcntl(d, F_SETFD, 1)” be of use here?

            Assignee:
            Unassigned
            Reporter:
            Gerard Ziemski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: