Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-153470

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

    XMLWordPrintable

Details

    • Unconfirmed
    • Performance

    Description

      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.

      Attachments

        Activity

          People

            cojomax99 [Mojang] Cory Scheviak
            quadraxis Ben Staddon
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: