<AWT Dev> Reviewer needed - awt/FontClass/CreateFont/DeleteFont test correction

Anthony Petrov anthony.petrov at oracle.com
Tue Nov 9 09:08:24 PST 2010

Hi Pavel,

On 11/9/2010 6:40 PM, Pavel Tisnovsky wrote:
> 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.

Since this test actually verifies the temp directory behavior, I would 
vote for disabling of creation of any temporary files other than those 
we're interested in. Otherwise a font temporary file may happen to get a 
name that matches the inverse-grep pattern (which is very unlikely but 
not impossible), and the test could pass mistakenly.

Is that possible to prevent creation of the hsperf* directories?

best regards,

More information about the awt-dev mailing list