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 207561

Summary: On close of editor tab Changes in editor are saved even when discard is chosen
Product: platform Reporter: Petr Cyhelsky <cyhelsky>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mmirilovic
Priority: P1 Keywords: REGRESSION
Version: 7.2   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Petr Cyhelsky 2012-01-20 11:32:28 UTC
Product Version: NetBeans IDE Dev (Build 201201190601)
Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10
System: Linux version 2.6.38-13-generic running on i386; UTF-8; en_US (nb)

Steps to reproduce: Have some java file open in editor -> save it(just to be sure you are in defined saved state) -> write something somewhere -> close the editor tab -> chose "discard" when asked whether to save -> reopen the file -> the changes were not discarded!
Comment 1 Marian Mirilovic 2012-01-24 15:04:12 UTC
dup of issue 207136

*** This bug has been marked as a duplicate of bug 207136 ***