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

118 REGRESSION : win32: theAWTToolkitWindow: java.exe - Application Error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.1.8
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_nt

      Description

      win32: theAWTToolkitWindow: java.exe - Application Error

      Unhandled exception in java.exe (MSVCRT.DLL):
        Access Violation

      This problem appears for 1.1.8 build D and is related to changes for bug fix
      for 4046769. It is observed on WinNT4.0 (SP3 or 4) with MSVCRT.DLL V6 (File
      version 6.00.8267.0). It does not occur for MSVCRT.DLL V5.

      The following test case demonstrates the problem. The application error pops
      up when exiting the application (window close icon or Alt-F4).

      import javax.swing.*;
      import javax.swing.event.*;
      import java.awt.*;
      import java.awt.event.*;

      public class TestCase extends JFrame {

          public static void main (String[] argv) {
              new TestCase();
          }

          public TestCase() {
              setSize(300, 300);
       setVisible(true);

       addWindowListener(new WindowAdapter() {
                  public void windowClosing(WindowEvent e) {
               System.exit(0);
                  }
       });
          }

      }

      The problem is not observed every time, and is not specific to JFrame (although
      when instead using awt.Frame in the above test case, the problem disappears).
      The problem has been seen for other applications that use (non-Swing)
      lightweight components.

        Attachments

          Activity

            People

            Assignee:
            rkhansunw Robi Khan (Inactive)
            Reporter:
            lbunnisunw Lara Bunni (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: