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

QuickSort array size should be size_t

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: