-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
1.2.0
-
x86
-
windows_nt
Name: el35337 Date: 04/08/98
I ran this source code on WinNT, using JDK 1.2beta3.
--[begin source]--
import java.awt.*;
import java.awt.event.*;
import java.awt.swing.*;
public class TestGUI extends JPanel
{
public static void main(String[] argv) throws Exception
{
System.out.println(System.getProperty("java.version"));
JFrame f = new JFrame("JFrame");
f.addWindowListener( new LameApplicationCloser() );
f.setSize(300, 300);
f.show();
MenuBar menuBar = new MenuBar();
Menu fileMenu = new Menu("File");
menuBar.add(fileMenu);
System.out.println("Calling Frame.setMenuBar");
f.setMenuBar( menuBar );
System.out.println("exiting main");
}
}
class LameApplicationCloser extends WindowAdapter
{
public void windowClosing(WindowEvent e)
{
System.exit(0);
}
}
--[end source]--
I got this output:
testDir>java TestGUI
1.2beta3
Calling Frame.setMenuBar
testDir>
The VM paused about 7 seconds after the invocation of
setMenuBar, then crashed with a dialog titled
"theAwtToolkitWindow: java.exe - Application Error",
containing the "stop" icon (red circle -w- white X)
and the text:
The instruction "0x53614a0f" referenced
memory at "0x0000000c". The memory could
not be "read".
Click on OK to terminate the application
Click on CANCEL to debug the application
I assume that you can reproduce this easily.
If not, contact me for more details.
(Review ID: 27991)
======================================================================