UID.java (UID): Read `nextCount', not count.

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

	* java/rmi/server/UID.java (UID): Read `nextCount', not count.

From-SVN: r86785
This commit is contained in:
Tom Tromey 2004-08-30 16:45:04 +00:00 committed by Andreas Tobler
parent d92a3b384c
commit 05502144b6
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2004-08-30 Tom Tromey <tromey@redhat.com>
* java/rmi/server/UID.java (UID): Read `nextCount', not count.
2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
* gnu/java/security/der/DEREncodingException.java: Remove whitespaces.

View File

@ -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();