On 27/09/2013 13:40, Dan Xu wrote:
Hi,

Recently I made changes in TempDirectory.generateFile() method to prevent using invalidparameters to create temporary files. But such tight control will bring a compatibility issue. This change is going to solve theseproblems. Please help review it. Thanks!

Bug: https://bugs.openjdk.java.net/browse/JDK-8025128
webrev: http://cr.openjdk.java.net/~dxu/8025128/webrev/ <http://cr.openjdk.java.net/%7Edxu/8025128/webrev/>
Just to add more here, the prefix was originally intended to just the prefix to the file name but there are libraries and applications that are specifying path names. Your approach to use the file name part looks good to me. We may want to consider tightening up the spec a bit in the future.

-Alan

Reply via email to