Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8129633

(fs) Investigate removing the GNOME-based FileTypeDetector from the Linux and Solaris implementations

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b77
    • OS:
      linux, solaris
    • Verification:
      Verified

      Backports

        Description

        The GnomeFileTypeDetector uses the GNOME I/O library if available with fallback to the GNOME VFS, which is deprecated. The MagicFileTypeDetector is superior on Linux (libmagic is used by the 'file' command). On Solaris however if GnomeFileTypeDetector were removed the implementation would depend entirely on ~/.mime.types and /etc/mime.types which are not guaranteed to be present so this could be problematic.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                bpb Brian Burkhalter
                Reporter:
                bpb Brian Burkhalter
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: