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.
JDK 1.4.2_08, JDK 1.5.0_05 first failure in 200509271927
Created attachment 25318 [details] NotifyModifiedOnNbEditorLikeKitTest.html
Created attachment 25319 [details] NotifyModifiedTest.html
More logging CloneableEditorSupport.java; /cvs/openide/text/src/org/openide/text/CloneableEditorSupport.java,v <-- CloneableEditorSupport.java new revision: 1.9; previous revision: 1.8
Created attachment 26209 [details] 2005 10 20 failure on windows
Still fails, but only on windows...
#65397: More logging and also a fix. The problem was because the System.currentTimeMillis on windows more often returns same value than on unix, so even there was a lot of operations between two points, they still were said to happen at the same time. Putting one Thread.sleep into the test, hopefully at the right place. Checking in test/unit/src/org/openide/text/NotifyModifiedTest.java; /cvs/openide/text/test/unit/src/org/openide/text/NotifyModifiedTest.java,v <-- NotifyModifiedTest.java new revision: 1.4; previous revision: 1.3 done Checking in src/org/openide/text/CloneableEditorSupport.java; /cvs/openide/text/src/org/openide/text/CloneableEditorSupport.java,v <-- CloneableEditorSupport.java new revision: 1.11; previous revision: 1.10
Created attachment 26557 [details] Still problems on windows
Still fails on windows
openide/text/test/unit/src/org/openide/text/NotifyModifiedTest.java,v <-- NotifyModifiedTest.java new revision: 1.6;
verified