]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* java/io/File.java (nextValue): Now synchronized.
authorTom Tromey <tromey@cygnus.com>
Fri, 11 Feb 2000 18:44:37 +0000 (18:44 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Fri, 11 Feb 2000 18:44:37 +0000 (18:44 +0000)
From-SVN: r31925

libjava/ChangeLog
libjava/java/io/File.java

index 35e132ee19a289eb41bdaf27db5ced70dfff34a3..a1ec0f24c01b71ebbafaafe34a31ffbe368b9de3 100644 (file)
@@ -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.
index 229125e41c289f309971ccba920532bc08079961..df8990957f3745a228720c8256016fff2b47ee5b 100644 (file)
@@ -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);
   }