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.
}
boolean completed = false;
atomicLock();
boolean origBreakGuarded = breakGuarded;
try {
breakGuarded = true;
super.runAtomicAsUser(r);
r.run();
completed = true;
} finally {
breakGuarded = origBreakGuarded;
if (!completed) {
breakAtomicLock();
atomicUnlock();
if (debugAtomic) {
System.out.println("GuardedDocument.runAtomic() finished"); // NOI18N
boolean origAtomicAsUser = atomicAsUser;
atomicAsUser = true;
atomicAsUser = origAtomicAsUser;
System.out.println("GuardedDocument.runAtomicAsUser() finished"); // NOI18N