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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • core-svc
    • None

      This 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?

            Unassigned Unassigned
            gziemski Gerard Ziemski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: