* java/io/File.java (nextValue): Now synchronized.
From-SVN: r31925
This commit is contained in:
parent
c4ce154a39
commit
9d381124d8
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2000-02-11 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* java/io/File.java (nextValue): Now synchronized.
|
||||
|
||||
2000-02-10 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* java/io/natFileDescriptorPosix.cc (open): Recognize EXCL flag.
|
||||
|
|
|
@ -215,7 +215,7 @@ public class File implements Serializable
|
|||
return mkdirs (new File (path));
|
||||
}
|
||||
|
||||
private static String nextValue ()
|
||||
private static synchronized String nextValue ()
|
||||
{
|
||||
return Long.toString(counter++, Character.MAX_RADIX);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue