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.

View | Details | Raw Unified | Return to bug 21003
Collapse All | Expand All

(-)AbstractFileObject.java (+3 lines)
Lines 417-422 Link Here
417
        if (parent == null) {
417
        if (parent == null) {
418
            FSException.io ("EXC_CannotRenameRoot", getAbstractFileSystem ().getDisplayName ()); // NOI18N
418
            FSException.io ("EXC_CannotRenameRoot", getAbstractFileSystem ().getDisplayName ()); // NOI18N
419
        }
419
        }
420
        if (name.indexOf ('/') != -1 || ext.indexOf ('/') != -1) {
421
            FSException.io ("EXC_CannotRename", toString (), getAbstractFileSystem ().getDisplayName (), name + "." + ext); // NOI18N
422
        }
420
        try {
423
        try {
421
            getFileSystem ().beginAtomicAction ();
424
            getFileSystem ().beginAtomicAction ();
422
            synchronized (parent) {
425
            synchronized (parent) {

Return to bug 21003