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

-verbose:* uses console output: no info provided for win32 apps

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.4.2
    • hotspot
    • x86
    • windows_2000



      Name: rmT116609 Date: 04/08/2004


      A DESCRIPTION OF THE REQUEST :
      I'm having a problem with some JNI code, so I tried turning on -verbose:jni.

      However, the application I'm debugging is a Win32 application (i.e. it starts with WinMain instead of main) hence it has no console attached to it.

      All debug output from the -verbose option goes via the console, so when trying to trace problems in a Win32 application there seems to be no way of obtaining this output.


      JUSTIFICATION :
      It is unreasonable to assume that all JNI programs have a console attached to them.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Perhaps a log file could be specified to which all output was written?
      ACTUAL -
      I'm not aware of any existing behaviour. My call to JNI_CreateJavaVM never returns, and I am really struggling to find any behaviour that will tell me why its happening!
      (Incident Review ID: 241135)
      ======================================================================

            duke J. Duke
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: