[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Patch: FYI: Bug 9944
From: |
Tom Tromey |
Subject: |
[cp-patches] Patch: FYI: Bug 9944 |
Date: |
16 Aug 2004 20:40:24 -0600 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
I'm checking this in.
This fixes bug 9944. It is a fairly obvious correctness fix, we were
using `count' before it was initialized.
Tom
Index: ChangeLog
from Tom Tromey <address@hidden>
Bug 9944.
* java/rmi/server/UID.java (UID): Read `nextCount', not count.
2004-08-16 Tom Tromey <address@hidden>
Index: java/rmi/server/UID.java
===================================================================
RCS file: /cvsroot/classpath/classpath/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:27:00 -0000 1.2
+++ java/rmi/server/UID.java 17 Aug 2004 02:55:56 -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();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] Patch: FYI: Bug 9944,
Tom Tromey <=