mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-26 12:23:59 +08:00
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:
parent
d92a3b384c
commit
05502144b6
@ -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.
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user