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

need way to redirect JVM's stderr and stdout

    Details

    • Subcomponent:
    • CPU:
      generic, sparc
    • OS:
      generic, solaris_8

      Description

      Currenty JVM's stdout and stderr are sent to the terminals where the application is started from. There is a way to set stdout/stderr programmatically (by using setOutputStream()) for the java side but the JVMs stdout and stderr are not redirected to the stream obtained from getOutputStream(). This is a problem and makes application debugging difficult and if developers write their native code to use redirection, that makes code non-portable across the platforms.

      There is a need for a way to programcatically set stdout/stderr for JVMs messages.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sgoldman Steve Goldman (Inactive)
                Reporter:
                rramchansunw Rajesh Ramchandani (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: