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

JDK source code contains redundant boolean operations in jdk.charsets

    XMLWordPrintable

    Details

      Description

      A DESCRIPTION OF THE PROBLEM :
      The JDK source code contains the following redundant boolean operations which have no effect; some of them could be simplified and some might be bugs.

      - https://github.com/openjdk/jdk/blob/7fc3a8d052bfb8d31fedec56f72b10a40ba7bf83/src/jdk.charsets/share/classes/sun/nio/cs/ext/IBM964.java.template#L206
      `true &&` can be removed
      - https://github.com/openjdk/jdk/blob/7fc3a8d052bfb8d31fedec56f72b10a40ba7bf83/src/jdk.charsets/share/classes/sun/nio/cs/ext/SimpleEUCEncoder.java.template#L263
      `true &&` can be removed


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              naoto Naoto Sato
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: