This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] classpath merge 7 java/rmi/server/UID.java


Hello again,

number 7:

Mauve tests running, ok if no regressions?

Andreas

2004-08-30 Tom Tromey <tromey@redhat.com>

* java/rmi/server/UID.java (UID): Read `nextCount', not count.
Index: java/rmi/server/UID.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/rmi/server/UID.java,v
retrieving revision 1.2
diff -u -r1.2 UID.java
--- java/rmi/server/UID.java	22 Jan 2002 22:40:29 -0000	1.2
+++ java/rmi/server/UID.java	30 Aug 2004 15:26:01 -0000
@@ -1,5 +1,5 @@
 /*
-  Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+  Copyright (c) 1996, 1997, 1998, 1999, 2004 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -65,7 +65,7 @@
  */
 public UID() {
 	synchronized (lock) {
-		if (count == Short.MAX_VALUE) {
+		if (nextCount == Short.MAX_VALUE) {
 			long newtime;
 			for (;;) {
 				newtime = System.currentTimeMillis();

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]