-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
None
-
6
-
x86
-
windows_vista
I have 2 classes. The purpose of my first class(TestCaseDriver.java) is to simply launch the second class(MenuRenderTest1.java). A user would then determine if MenuRenderTest1 is a pass or fail. The user would then click on a PASS or FAIL button in the TestCaseDriver, which will call System.exit(0). Thats basically it. The catch is, the MenuRenderTest1 has AWT components and TestCaseDriver has swing components. Other than that, there really is not much interaction between the two.
The problem is, if you click on the "ADD Menu Bar" button in MenuRenderTest1 and then click on the "PASS" button in TestCaseDriver a core dump occurs. This happens on 1.6.0-b99 and 6u10-b12, but it does not happen on the latest 1.7.0. Plus, this happens only on Vista and not RedHat or Solaris. In order to prevent the core dump from occuring in Vista only, in the TestCaseDriver I have to get a handle to the frame that is in MenuRenderTest1 and then specifcally call the dispose method. However, shouldn't the System.exit() or some other method in the VM take care of this and do any other cleaning up if needed? If not, it still seems like we shouldn't be getting a core dump and maybe a exception instead.
Please see the files attached.
The problem is, if you click on the "ADD Menu Bar" button in MenuRenderTest1 and then click on the "PASS" button in TestCaseDriver a core dump occurs. This happens on 1.6.0-b99 and 6u10-b12, but it does not happen on the latest 1.7.0. Plus, this happens only on Vista and not RedHat or Solaris. In order to prevent the core dump from occuring in Vista only, in the TestCaseDriver I have to get a handle to the frame that is in MenuRenderTest1 and then specifcally call the dispose method. However, shouldn't the System.exit() or some other method in the VM take care of this and do any other cleaning up if needed? If not, it still seems like we shouldn't be getting a core dump and maybe a exception instead.
Please see the files attached.
- relates to
-
JDK-6480378 Backport 5065001, 6259348 and others to 5.0 update release
- Resolved