Commit 05502144 by Tom Tromey Committed by Andreas Tobler

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
parent d92a3b38
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> 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
* gnu/java/security/der/DEREncodingException.java: Remove whitespaces. * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
......
/* /*
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. This file is part of GNU Classpath.
...@@ -65,7 +65,7 @@ private short count; ...@@ -65,7 +65,7 @@ private short count;
*/ */
public UID() { public UID() {
synchronized (lock) { synchronized (lock) {
if (count == Short.MAX_VALUE) { if (nextCount == Short.MAX_VALUE) {
long newtime; long newtime;
for (;;) { for (;;) {
newtime = System.currentTimeMillis(); newtime = System.currentTimeMillis();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment