This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 198375 - Scene2image.createImage does not close output stream
Summary: Scene2image.createImage does not close output stream
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Graph (show other bugs)
Version: 7.0
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 10:45 UTC by jirka_x1
Modified: 2011-05-20 08:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jirka_x1 2011-05-06 10:45:50 UTC
When writing PNG images, the Scene2image.createImage function does not close the output stream. This means the image is locked until the application is exited.
Comment 1 Antonin Nebuzelsky 2011-05-19 14:58:58 UTC
http://hg.netbeans.org/core-main/rev/f2aefd6b6416
Comment 2 Antonin Nebuzelsky 2011-05-19 15:06:18 UTC
transplant in 7.0.1:
http://hg.netbeans.org/releases/rev/caed846b6ca6
Comment 3 Antonin Nebuzelsky 2011-05-19 15:08:10 UTC
Please, verify in the next build that it works as expected. If possible, verify for PNG and for JPG as well (a different code path for writing the file).
Comment 4 Quality Engineering 2011-05-20 08:52:54 UTC
Integrated into 'main-golden', will be available in build *201105200400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f2aefd6b6416
User: Antonin Nebuzelsky <anebuzelsky@netbeans.org>
Log: #198375: Scene2image.createImage does not close output stream