[OpenJDK 2D-Dev] FileCacheImageOutputStream.close() is not idempotent

Martin Desruisseaux martin.desruisseaux at geomatys.fr
Fri Jun 15 00:26:02 UTC 2012


Le 15/06/12 01:58, Phil Race a écrit :
> Just two lines down from where you propse to add super.close(),
> seek(maxStreamPos) will then throw an exception.
Right, I though about it after I have sent my email. Sorry for bothering...

> BTW this fix will need a regression test. Also you should run the
> existing reg. tests in this area.
This is something I still have to learn to do. I - too optimistically - 
assumed that the fix was trivial enough for taking a chance. I will try 
to go through the README-builds.html file when I will have a chance...

Thanks for your patience.

     Martin




More information about the 2d-dev mailing list