Duplicate :
|
Test fail with ArrayIndexOutOfBoundsException(See log file in attachment): Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 36 at sun.font.FileFontStrike.getCachedGlyphPtr(FileFontStrike.java:469) at sun.font.FileFontStrike.getGlyphImagePtrs(FileFontStrike.java:406) 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:2904) at sun.font.ExtendedTextSourceLabel.handleDraw(ExtendedTextSourceLabel.java:193) at sun.font.Decoration$DecorationImpl.drawTextAndEmbellishments(Decoration.java:258) at sun.font.Decoration$DecorationImpl.drawTextAndDecorations(Decoration.java:337) at sun.font.ExtendedTextSourceLabel.draw(ExtendedTextSourceLabel.java:197) at java.awt.font.TextLine.draw(TextLine.java:792) at java.awt.font.TextLayout.draw(TextLayout.java:2638) at java2d.demos.Fonts.AttributedStr.render(AttributedStr.java:181) at java2d.Surface.paint(Surface.java:367) at javax.swing.JComponent.paintChildren(JComponent.java:887) ......... Enviroment:Mac mini, NVIDIA GeForce 320M, Mac OS X 10.7.4 Affected tests: closed/demo/jfc/Java2D/Java2DemoTest.java