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

Dubious 'null' assignment in CompactByteArray.expand

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 17
    • 18
    • core-libs
    • b08

    Description

      values field is assigned to 'null' and then immediately reassigned to 'tempArray'.

      > values = null;
      > values = tempArray;

      First assignment can be removed.

      Attachments

        Issue Links

          Activity

            People

              aturbanov Andrey Turbanov
              aturbanov Andrey Turbanov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: