If this mail distrub you please ignore that, sorry for inconveniences. I really hope to get your help.
Recently I'm porting a project form oracle jdk to open jdk, and compile process is smooth and most parts runs well, but jfreechart cannot work. I have submitted a question to jfreechart forum (http://www.jfree.org/forum/viewtopic.php?f=3&t=117569&p=179724#p179724). However after sometime troubleshooting, I find the problem is related with open jre. That means jfreechart works fine in oracle jre but fails in open jre. Again I find more details, when I run following codes I will get wrong result, which causes jfreechart not to work. BufferedImage image = new BufferedImage(200, 200, BufferedImage.TYPE_INT_RGB); Graphics2D g2 = image.createGraphics(); FontMetrics fm = g2.getFontMetrics(); The fm includes strange value, if I switch to oracle jre fm has right value. I don't know why. Can somebody help me?