From 05502144b671ceade487a8b6b3ab35859ae4469a Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 30 Aug 2004 16:45:04 +0000 Subject: UID.java (UID): Read `nextCount', not count. 2004-08-30 Tom Tromey * java/rmi/server/UID.java (UID): Read `nextCount', not count. From-SVN: r86785 --- libjava/java/rmi/server/UID.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libjava/java') diff --git a/libjava/java/rmi/server/UID.java b/libjava/java/rmi/server/UID.java index a88cb8b..4c8a041 100644 --- a/libjava/java/rmi/server/UID.java +++ b/libjava/java/rmi/server/UID.java @@ -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 @@ private short count; */ public UID() { synchronized (lock) { - if (count == Short.MAX_VALUE) { + if (nextCount == Short.MAX_VALUE) { long newtime; for (;;) { newtime = System.currentTimeMillis(); -- cgit v1.1