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 29338 - Closed files remain locked until garbage collection
Summary: Closed files remain locked until garbage collection
Status: VERIFIED DUPLICATE of bug 29306
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-05 19:50 UTC by qno67
Modified: 2008-12-22 20:48 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 qno67 2002-12-05 19:50:51 UTC
When you open some files in the text editor, make some 
changes, save them and close the editor tab, the file very 
often remains opened and locked until you press 'garbage 
collect' on the memory toolbar. As a side effect, external 
tools, like version control tools, etc. are unable to 
manipulate the already closed file.
This looks as if the file was not properly closed, just 
the referencing object would be released instead and the 
finalization closes the file handle at a random time.
-----------------------------------------------------
output of 'java -version':
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 
1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)
-----------------------------------------------------
contents of ide.cfg:
-userdir E:\home\ksg\netbeans34
-jdkhome E:\j2sdk1.4.1_01
-fontsize 14
-J-XX:+UseParallelGC
-J-Xmx512m
-J-Xss1024k
-J-Xms192m
-J-Xverify:none
Comment 1 Miloslav Metelka 2002-12-09 16:23:04 UTC
the editor "just" uses a reader provided by core/openide. Reassiging
to core.
Comment 2 Jan Lahoda 2002-12-13 08:07:15 UTC
This might be this issue:
http://www.netbeans.org/issues/show_bug.cgi?id=29306

Which build do you have? Is it more recent than 5th Dec 2002? If not,
I think this is a dup of #29306.
Comment 3 Jan Lahoda 2002-12-20 10:19:59 UTC
Closing as a dup of #29306.

*** This issue has been marked as a duplicate of 29306 ***
Comment 4 qno67 2003-07-08 16:46:24 UTC
Seems to be corrected. Unable to reproduce any 
more.