Mojira Archive
MC-151173

Stream used to read options.txt file never closed

See also MC-117449.

GameSettings.loadOptions() does not close the FileInputStream used to read the options.txt file.

It should be handled more similarly to saveOptions() which both properly specifies UTF-8 and also ensures the file stream is closed afterwards.

Fixed

Ben Staddon

[Mojang] Bartosz Bok

2019-05-08, 12:21 PM

2019-12-05, 01:57 PM

2019-12-05, 01:57 PM

4

3

Unconfirmed

(Unassigned)

Minecraft 1.14, Minecraft 1.14.2

1.15 Pre-release 5