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

JDWP: usage of perror() in socketTransport.c is not helpful

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0
    • core-svc
    • None
    • generic
    • generic



      Name: tb29552 Date: 02/08/2002


      src/share/transport/socket/socketTransport.c contains nine
      separate uses of the statement:
         perror("err:");

      % cat -n socketTransport.c | egrep perror
          34 perror("err:");
          42 perror("err:");
          73 perror("err:");
          92 perror("err:");
         100 perror("err:");
         137 perror("err:");
         182 perror("err:");
         211 perror("err:");
         225 perror("err:");

      When this error message string shows up on stderr,
      it is difficult to:

      1) Figure out what module and source file reported it.

      2) Once you have tracked down 1), figure out which of the
         nine lines of code you are dealing with.

      ======================================================================

            alanb Alan Bateman
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: