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 203521 - Adding package private class to RequestProcessor starts rescan of all projects
Summary: Adding package private class to RequestProcessor starts rescan of all projects
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.0
Hardware: Other Linux
: P2 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2011-10-11 14:25 UTC by Jaroslav Tulach
Modified: 2011-10-18 14:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2011-10-11 14:25:08 UTC
Just add 

    private static class CreatedItem extends Item {
        public CreatedItem(Task task, RequestProcessor rp) {
            super(task, rp);
        }

        @Override
        boolean clear(Processor processor) {
            return true;
        }
    }

to request processor. The complete rescan of all NetBeans modules is triggered.
Comment 1 Jan Lahoda 2011-10-17 09:57:14 UTC
http://hg.netbeans.org/jet-main/rev/a06119141cfc
Comment 2 Quality Engineering 2011-10-18 14:18:02 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/a06119141cfc
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #203521: private classes (and everything they enclose) cannot affect any class outside the current top-level class.