Bug 2274 - [JFace Text] Java Editor: doesn't detect file modification (1GEHXFZ)
Summary: [JFace Text] Java Editor: doesn't detect file modification (1GEHXFZ)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Kevin Haaland CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:33 EDT by Kevin Haaland CLA
Modified: 2002-01-21 21:35 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Haaland CLA 2001-10-10 22:33:02 EDT
Java Editor doesn't detect external file change and also uses the old contents.
Notice that Default Editor doesn't have this problem.

1. Create a project and a java file( .java )
2. Close the java file.
3. Using NotePad, modify the java file. Be sure to save it.
4. In Navigator, rightclick the java file, Open With->Java Editor. 
	Notice that it shows the old contents. It doesn't detect the file change, either.
5. This time, do an Open With->default editor.
	Notice that it gives you the normal error message.

NOTES:

KUM (5/30/01 8:37:17 PM)
	Cannot reproduce on 114+.
	Seems to work because of "1GEJWB3: ITPCORE:ALL - IFile.setContents". Must be revisited.

WC(07/06/2001 6:44:41 PM)
	Fixed. Verified on 119 JDK
Comment 1 DJ Houghton CLA 2001-10-29 18:04:26 EST
PRODUCT VERSION:
113 JDK
Windows 2000

Comment 2 Kevin Haaland CLA 2002-01-21 21:35:12 EST
Closing based on latest comments