JDK-7184900 : [macosx] regression test closed/demo/jfc/Java2D/Java2DemoTest.java fail
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 7u6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: generic
  • Submitted: 2012-07-18
  • Updated: 2012-07-24
  • Resolved: 2012-07-24
Related Reports
Duplicate :  
Description
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