JDK-7003327 : Correct test awt/FontClass/CreateFont/DeleteFont
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: OpenJDK6
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2010-11-30
  • Updated: 2012-02-24
  • Resolved: 2012-02-24
Related Reports
Relates :  
Description
See thread
http://mail.openjdk.java.net/pipermail/jdk6-dev/2010-November/002105.html

Summary:

"This test check, if the temporary file containing font is properly
deleted when JVM finishes. The check is based on counting of files in
temporary dir - if temporary font file is not deleted, the number of
files before and after running the test differs.

BUT JVM also creates hsperfdata_* subdirectory so the check described
above always fails (presence of this subdirectory add +1 to number of
files). I've added simple filter to resolve this issue. Another option
is to disable the hsperfdata_* creation at all."

Comments
EVALUATION I see the proposed fix : http://cr.openjdk.java.net/~ptisnovs/DeleteFont_correction/ which was simply to filter out the hsperfdata files but I find no evidence it was ever pushed and I think its moot/unneeded because hotspot reverted the behaviour of where it placed those files.
24-02-2012

EVALUATION Yes.
30-11-2010