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

DeflaterDictionaryTests should use Deflater.getBytesWritten instead of Deflater.getTotalOut

XMLWordPrintable

        Various DeflaterDictionaryTests methods currently calls Deflater.getTotalOut() when printing some debugging info.

        They should be updated to instead use Deflater.getBytesWritten.

        Additionally, various debugging output lines claim to include the output of Deflater.getAdler, but instead output the value of Deflater.getTotalOut. We should correct this to actually print the Adler value.

        This is a cleanup in preparation for deprecating Deflater.getTotalOut, see JDK-8326096

              eirbjo Eirik Bjørsnøs
              eirbjo Eirik Bjørsnøs
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: