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

QuickSort array size should be size_t

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 10
    • None
    • hotspot
    • None
    • b21
    • generic
    • generic

    Description

      QuickSort::sort takes an int size argument. Sizes should generally be size_t. But passing a size_t value when parameter type is int leads to a build failure on Windows-x64, because the compiler warns about the narrowing conversion.

      Attachments

        Activity

          People

            kbarrett Kim Barrett
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: