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

Xor loops are not implemented yet in the new Merlin Java2D architecture

XMLWordPrintable

    • 2d
    • beta
    • generic, x86, sparc
    • generic, solaris_7, solaris_8, windows_nt, windows_2000
    • Verified

      Xor loops are not implemented yet in Merlin (current build is 1.4.0beta-b25).
      For now it throws InternalError:
       Cannot construct general op for MaskBlit(Lsun/java2d/SurfaceData;Lsun/java2d/SurfaceData;Ljava/awt/Composite;IIIIII[BII)V+XOR mode

      for the following code:
      g2.setXORMode(Color.red);
      g2.fillRect(10, 10, 50, 50);

      It's reproducible on all platforms, of course.

      See also bug
      4348027 Graphics.setXORMode() throws StackOverflowError on windows in jdk1.4.0beta-b20
      dmitri.trembovetski@eng 2000-07-26

            busersunw Btplusnull User (Inactive)
            tdv Dmitri Trembovetski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: