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.
Development build of NetBeans #116 (2001-02-01) on Windows 2000 with JDK 1.3. Description: ============ This bug doesn't occur if there is already a newline character at the end of the file :-) But if file ends with some meaningful text and is committed into the repository and then checked out it is changed in above described way. The most interesting seems to me that "Diff" doesn't find any differencies. Steps to reproduce: =================== 1. Mount JavaCVS filesystem and open arbitrary [Up-to-date] file. 2. Write some text at the last line, "Save" it and "Commit" this [LMod] file. 3. Now perform "Checkout" on this file and "Open" it to verify the bug.
Assigning to RG.
This looks to be a bug in the FileHandlers.
Bug was because the AbstractFileHandler relied on using BufferedReader.readLine () which makes it impossible to figure out whether you're dealing with a line with a newline at the end or not. Now uses a different approach. Classes changed: org.netbeans.lib.cvsclient.file.AbstractFileHandler
Verified in development build #205.
Resolved for 3.4.x or earlier, no new info since then -> closing.