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

Remove Shape::setMode method

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      There is an obvious problem in the following source file

      * jfx/modules/javafx.graphics/src/main/java/javafx/scene/shape/Shape.java

          void setMode(NGShape.Mode mode) {
              mode = mode; // -> this.mode = mode;
          }

      This implementation is considered to be working differently than expected.

      If you fix this issue, you will be able to use the test I attached in JDK-8229264
      The COPY mode of the blend mode works correctly.
      I have confirmed this.




      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. run the tests attached to JDK-8229264
      Check the rendering result of COPY mode. 2.

      The following screenshot may be helpful.
      * https://github.com/javafxports/openjdk-jfx/issues/552

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Background is not filled with black

      ACTUAL -
      Background is filled with black


      ---------- BEGIN SOURCE ----------
      Use the attached test for JDK-8229264
      ---------- END SOURCE ----------

      FREQUENCY : always


            angorya Andy Goryachev
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: