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

enhance os::file_name_strncmp() on Mac OSX

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The implementation of os::file_name_strncmp() for Mac OS X in os_bsd.inline.hpp does a strcmp(). However, depending on the file system and setting on Mac OS X, it could be case-insensitive. The implementation should take that into account and call the appropriate function.

      The following link has some info on the OS X file system:
      http://apple.stackexchange.com/questions/8016/hfs-case-sensitive-or-case-insensitive-which-type-to-use-for-the-primary-dri

        Attachments

        1. hello.jar
          0.7 kB
        2. log_for_gerard_from_Calvin.txt
          12 kB
        3. main.cpp
          0.6 kB
        4. my.list
          0.0 kB
        5. test.zip
          662 kB

          Issue Links

            Activity

              People

              Assignee:
              gziemski Gerard Ziemski
              Reporter:
              ccheung Calvin Cheung
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: