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.
Apply patch: https://netbeans.org/bugzilla/attachment.cgi?id=97076 and when running the test you shall get (on rev. 470ae490543c): Caused by: junit.framework.AssertionFailedError: Are all documents GCed? TextDocument: static org.netbeans.modules.versioning.VersioningAnnotationProvider org.netbeans.modules.versioning.VersioningAnnotationProvider.instance-> org.netbeans.modules.versioning.VersioningAnnotationProvider@1d00cff-iconCache-> org.netbeans.modules.versioning.VersioningAnnotationProvider$Cache@e511a1-cachedValues-> org.netbeans.modules.versioning.VersioningAnnotationProvider$Cache$1@fe99c9-table-> [Ljava.util.HashMap$Entry;@15baedb-[218]-> java.util.LinkedHashMap$Entry@ed0665-key-> org.netbeans.modules.versioning.VersioningAnnotationProvider$Cache$ItemKey@1c54727-files-> org.openide.loaders.FilesSet@168aae6-mymdo-> org.openide.nodes.CookieSet@1b75c9d-ic-> org.openide.nodes.CookieSetLkp@71524c-tree-> org.openide.util.lookup.ArrayStorage@1bb2ee4-content-> [Ljava.lang.Object;@b5a867-[1]-> org.openide.nodes.CookieSetLkp$SimpleItem@1a1006b-obj-> org.openide.text.EditorSupportLineSet@def6ef-listener-> org.openide.text.LineListener@a01440-root-> org.netbeans.editor.LineRootElement@1d9a501-doc-> org.netbeans.modules.editor.NbEditorDocument@126da28
Found when working on bug 143586.
fix: http://hg.netbeans.org/cdev/rev/2f8b529717a0
Integrated into 'main-golden', will be available in build *201004131450* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2f8b529717a0 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: Issue #183896 - Memory leak of a Document via versioning's annotation provider