JDK-4635423 : JDWP: usage of perror() in socketTransport.c is not helpful
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2002-02-08
  • Updated: 2003-05-06
  • Resolved: 2003-05-06
Related Reports
Duplicate :  
Relates :  
Description

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.

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

Comments
PUBLIC COMMENTS Name: tb29552 Date: 02/08/2002 . ======================================================================
10-06-2004

EVALUATION Must supply more meaningful msgs. -- As part of the "pluggable connectors and transports feature" (4287596) we have replaced the error handling. As a result perror is no longer used. I am therefore closing this bug as a dup. ###@###.### 2003-05-06
06-05-2003