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

JDK source code contains redundant boolean operations in DoubleByteEncoder.java

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • CPU:
      generic
    • OS:
      generic

      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/java.desktop/unix/classes/sun/font/DoubleByteEncoder.java#L207
      `true &&` can be removed


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              prr Philip Race
              Reporter:
              tongwan Andrew Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: