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 254926 - Memory leak in SpellcheckerHighlightLayerFactory
Summary: Memory leak in SpellcheckerHighlightLayerFactory
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Spellchecker (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks: 239360
  Show dependency tree
 
Reported: 2015-09-02 08:35 UTC by Miloslav Metelka
Modified: 2015-09-03 01:24 UTC (History)
0 users

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 Miloslav Metelka 2015-09-02 08:35:20 UTC
The SpellcheckerHighlightLayerFactory uses

component.putClientProperty(SpellcheckerHighlightLayerFactory.class, bag = new OffsetsBag(component.getDocument()));

but once the pane's document changes the reference is not updated for some reason and there's a memory leak. I'll fix that.
Comment 1 Miloslav Metelka 2015-09-02 09:39:35 UTC
http://hg.netbeans.org/jet-main/rev/ebb2fa459d6d
Comment 2 Quality Engineering 2015-09-03 01:24:20 UTC
Integrated into 'main-silver', will be available in build *201509030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ebb2fa459d6d
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #254926 - Memory leak in SpellcheckerHighlightLayerFactory.