Project: JDT
Bug 236421 [spell checking][implementation] PersistentSpellDictionary closes wrong stream
Reported: 2008-06-10 09:02:49 | Status: resolved fixed

CVS HEAD as of today (06/10/2008) PersistentSpellDictonary has an OutputStreamWriter which is never used but closed in finally. Instead the FileOutputStream is used to write the file but is never closed. Attached a little patch to remove the OutputStreamWriter and close the FOS instead.

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/PersistentSpellDictionary.java