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

[macos] Font2DTest demo started failing for Arabic range from JDK 8 u162 b01 on Mac

    Details

    • Subcomponent:
      2d
    • Introduced In Build:
      b01
    • Introduced In Version:
    • Resolved In Build:
      b07
    • OS:
      os_x
    • Verification:
      Verified

      Backports

        Description

        Testsuite name: 2D
        Test name(s): Font2DTest demo
        Product(s) tested: JDK 8 u162 b01
        OS/architecture: Mac OS (x64)

        Reproducible: Always

        Is it a Regression: Yes, No such exception is encountered in jdk1.8.0_152b16, but AIOBE is thrown for JDK 8 u162 b01

        Exception/Error from Log:
        Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 255
                at sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:75)
                at sun.font.CompositeStrike.getStrikeForGlyph(CompositeStrike.java:70)
                at sun.font.CompositeStrike.getGlyphImagePtrs(CompositeStrike.java:120)
                at sun.font.StandardGlyphVector.setupGlyphImages(StandardGlyphVector.java:938)
                at sun.font.GlyphList.setFromGlyphVector(GlyphList.java:293)
                at sun.java2d.pipe.GlyphListPipe.drawGlyphVector(GlyphListPipe.java:136)
                at sun.java2d.SunGraphics2D.drawGlyphVector(SunGraphics2D.java:3003)
                at sun.font.ExtendedTextSourceLabel.handleDraw(ExtendedTextSourceLabel.java:193)
                at sun.font.Decoration.drawTextAndDecorations(Decoration.java:122)
                at sun.font.ExtendedTextSourceLabel.draw(ExtendedTextSourceLabel.java:197)
                at java.awt.font.TextLine.draw(TextLine.java:776)
                at java.awt.font.TextLayout.draw(TextLayout.java:2647)
                at sun.java2d.pipe.GlyphListPipe.drawString(GlyphListPipe.java:78)
                at sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2928)
                at FontPanel$FontCanvas.modeSpecificDrawChar(FontPanel.java:606)
                at FontPanel$FontCanvas.drawText(FontPanel.java:938)
                at FontPanel$FontCanvas.paintComponent(FontPanel.java:997)
                at javax.swing.JComponent.paint(JComponent.java:1056)
                at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
                at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579)
                at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
                at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
                at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
                at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
                at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
                at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
                at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)

        Please see attached log file

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  prr Philip Race
                  Reporter:
                  vagarwal Vikrant Agarwal
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: