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.
Calling of Data.setModified(false) from tests doesn't reset state of file opened in editor. Probably it stopped to work with usage of multiview editor for all files. To reproduce: - open main/jellytools project - open org.netbeans.jellytools.EditorOperatorTest.java - run the test (Ctrl+F6) - the last test case testCloseDiscard should pass. It calls TopComponentOperator.setUnmodified(false) which uses Data.setModified(false). Then when editor tab is closed, it should not ask whether you want to save or discard changes. Previous test cases may fail because of bug 199872. Product Version: NetBeans Platform Dev (Build 20110707-6f8222a1862b) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Windows XP version 5.1 running on x86; Cp1250; en_US
ergonomics#3a05fe400690
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/3a05fe400690 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #199990: DataObject.setModified(false) discards the Savable cookie, in case of default data editor support
Verified in build 201107310600.