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

Marlin renderer should not be the default in 8u252

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b08
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Steps to reproduce:
        - Build jdk8u from http://hg.openjdk.java.net/jdk8u/jdk8u repository
        - compile SimpleImage.java app:
        -------------- SimpleImage.java ---------
        import javax.imageio.ImageIO;
        import javax.swing.*;
        import java.awt.*;
        import java.awt.image.BufferedImage;
        import java.io.File;

        public class SimpleImage {

            public static void main(String[] args) throws Exception {
                JLabel label = new JLabel("Hello, world");
                label.setSize(200, 100);
                BufferedImage buff = new BufferedImage(200, 100, BufferedImage.TYPE_INT_RGB);
                Graphics g = buff.createGraphics();
                g.setColor(Color.WHITE);
                g.fillRect(0, 0, 200, 100);
                label.print(g);
                g.dispose();

                ImageIO.write(buff, "png", new File("hello.png"));
            }
        }
        ----------------------------

        Run the app with sun.java2d.renderer.log=true java property:
        java -Dsun.java2d.renderer.log=true SimpleImage
        ---------------
        INFO: Marlin software rasterizer = ENABLED
        INFO: Version = [marlin-0.7.2-Unsafe-OpenJDK]
        INFO: sun.java2d.renderer = sun.java2d.marlin.MarlinRenderingEngine
        ---------------

        MarlinRenderingEngine is enabled by default.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lbourges Laurent Bourgès
                  Reporter:
                  alexsch Alexandr Scherbatiy
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: