Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-677

IntRangeSet.java ignores first element in the constructor array

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.3
    • Java - Library
    • None

    Description

      Although IntRangeSet is no more used since generation of enums using native java enums, the class is still used by legacy code.
      The constructor for IntRangeSet does not put the first element in the given array to the realSet, which results in incorrect behavior.

      Attachments

        1. intrangeset_v1.patch
          6 kB
          Enis Soztutar

        Activity

          People

            bryanduxbury Bryan Duxbury
            enis Enis Soztutar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: