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 215109

Summary: Removing all class files from a classpath folder does not force reindex of dependent classes and associated problems
Product: java Reporter: Jan Lahoda <jlahoda>
Component: SourceAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 214863    

Description Jan Lahoda 2012-07-03 08:03:03 UTC
While trying to reproduce bug #214863, I have found to other problems:
Here is what I tried (finding two other problems along the way) - only on Linux
so far:
-created a project, added a directory with some .class files on its classpath.
-tried to delete the directory (bug: the error badges did not appear
"immediately")
-tried to copy the class file back. The error badges disappeared almost
immediately. Bug: the errors in an opened files did not until a reparse of the
file in the editor was forced.
-tried to also copy the classfiles again to see if there is a problem with
updating
Comment 1 Quality Engineering 2012-07-04 03:09:16 UTC
Integrated into 'main-golden', will be available in build *201207040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4ba353058a50
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #215109: fixing analysis after classfiles are deleted from a classpath folder, or after the classpath folder is deleted.
Comment 2 Jan Lahoda 2012-07-08 19:01:54 UTC
Fix for the second problem:
http://hg.netbeans.org/main-silver/rev/98c654bec11c