openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #01407
[Bug 308826] Re: netbeans sample application dispose()
It is the sample application created when you go to New Project ->
select Java and Java Desktop Application . Create that project and run
it. If you click Help->About in the sample desktop application and then
attempt to close the about box with the X it will produce the error
output. There was no additional code added to the sample application.
--
netbeans sample application dispose()
https://bugs.launchpad.net/bugs/308826
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
Status in “openjdk-6” source package in Ubuntu: Incomplete
Bug description:
I am not sure if this bug is with openjdk or netbeans. I am using netbeans 6.5 with default openjdk that comes with Ubuntu 8.10. The bug can be reproduced by creating a Java Desktop Application (sample application). After you execute the sample application, hit help->About inside of the sample application. When you hit the x in the top corner of the about dialog box to close it, it causes a StackOverflowError. This error is also produced if you build the project into an executable jar file and run it independent of netbeans. This error does not occur with sun's java that comes with Ubuntu 8.10. The error seems to occur when dispose is called on the child JFrame. I was not able to create a simple application, not produced by netbean's code generation, that caused the error (with sun's java or openjdk); thus the confusion of whether the error lies in netbeans or openjdk.
References