[Debian-med-packaging] Bug#600997: Bug#600997: imagej: cannot quit imagej when an image was changed

Frederic Mothe mothe at nancy.inra.fr
Mon Oct 25 08:27:45 UTC 2010


Hi,

Thank you for your fast reply!

Le 25/10/2010 03:24, Charles Plessy a écrit :
> Le Sat, Oct 23, 2010 at 11:50:38PM +0900, Charles Plessy a écrit :
> according to the upstream author, this is a problem in OpenJDK, not ImageJ,
> which can be solved by using Sun's Java.

I can confirm: 1.44c works fine when compiling with sun jdk.

> What is your feeling with the current package in Squeeze? We have the
> following possibilities:
>
>   - The package is mostly usable and does not need to be corrected.
>   - The package is broken and needs to be:
>     - removed, or
>     - patched, or
>     - moved to the contrib area and depend on Sun's Java.

I suggest to patch it.
According to http://bugs.launchpad.net/bugs/308826 the bug in OpenJDK
appears when dispose() is called for a hidden window.
Therefore, i suggest to remove the line "setVisible(false)" (line 75) in
ij/gui/YesNoCancelDialog.java:

void closeDialog() {
	// useless, and raises a bug with openjdk 6: setVisible(false);
	dispose();
}

After compiling with openjdk, it seems to fix the bug.

Have a nice day,
Frédéric





More information about the Debian-med-packaging mailing list