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

There is a loop variable that is not used in BaseGraphics.java

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      There is a loop variable that is not used in BaseGraphics.java.

      I found an obvious potential problem in the following source code.
      The following two methods have either unused loop variables causing
      performance problems or are not expected to work.
      This issue is considered to require a code review.

      * fx/modules/javafx.graphics/src/main/java/com/sun/prism/impl/BaseGraphics.java

          private void createRectTexture() {
      * int y is an unused loop variable

      public Texture getWrapRectTexture() {
      * int y is an unused loop variable

      If it's a performance issue, it's difficult to supplement with testing, so
      I will omit reporting the steps to reproduce the problem.



      FREQUENCY : always


            kcr Kevin Rushforth
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: