mojira.dev
MC-153470

Language map does not close internal 'en_us.json' file after reading

The LanguageMap constructor never closes the InputStream used to read the builtin en_us.json translation file, created here:

InputStream inputstream = LanguageMap.class.getResourceAsStream("/assets/minecraft/lang/en_us.json");

The stream should be closed after use, probably in a similar fashion to how the version.json file is handled.

Comments 0

No comments.

Ben Staddon

coschevi

Unconfirmed

Performance

Minecraft 1.14.2

Minecraft 1.14.3 Pre-Release 3

Retrieved