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

Client deletes and replaces servers.dat

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • Minecraft 1.12.2, Minecraft 17w45b, Minecraft 1.13.2, Minecraft 18w44a
    • None
    • openjdk 1.8.0_151 (amd64) on Ubuntu 16.04
    • Unconfirmed
    • (Unassigned)

      When viewing or modifying the client's server list, servers.dat is not modified/updated, but replaced with a new file.

      The biggest issue that this creates is that links are replaced with real files, as the new servers.dat is a different file with a new inode.

      In MC-34205, a similar issue was marked wontfix, because Java 6 could not tell a symlink from a real file. However, as Java 8 is the minimum required version as of Minecraft 1.12, there is no need to support the old code that handles servers.dat.

      If code is only changed for symlinks, however, this will still cause an issue for anything that depends on the inode, such as hardlinks.

            Unassigned Unassigned
            TransportLayer TransportLayer
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: