Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5561

Map.getOrDefault usage in ConnectionQueryServiceImpl requires JDK 8

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.15.0, 4.14.4
    • Fix Version/s: 4.15.0, 5.1.0, 4.14.4
    • Component/s: None
    • Labels:
      None

      Description

      PHOENIX-5553 introduced a usage of Map.getOrDefault(), which requires JDK 8. It was checked into the 4.x branch, even though the 4.x branch should still allow usage by JDK 7 (since HBase 1.x supports JDK 7). 

      If we want to change that assumption, it should be agreed on by the community.

      See CQSI line 926

       

        Attachments

        1. PHOENIX-5561.4.x.001.patch
          1 kB
          Gokcen Iskender
        2. PHOENIX-5561.master.001.patch
          1 kB
          Gokcen Iskender

          Issue Links

            Activity

              People

              • Assignee:
                giskender Gokcen Iskender
                Reporter:
                gjacoby Geoffrey Jacoby
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m