UnicastConnectionManager.java (clients): Now package-private.
* gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now package-private. (connections): Likewise. (scavenger): Likewise. * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now package-private. * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now package-private. (ptr): Likewise. * gnu/classpath/ServiceFactory.java (log): Now package-private. From-SVN: r90206
This commit is contained in:
parent
ab6036c8fb
commit
9ec0f3c8f5
@ -1,3 +1,16 @@
|
||||
2004-11-06 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
|
||||
package-private.
|
||||
(connections): Likewise.
|
||||
(scavenger): Likewise.
|
||||
* gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
|
||||
package-private.
|
||||
* gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
|
||||
package-private.
|
||||
(ptr): Likewise.
|
||||
* gnu/classpath/ServiceFactory.java (log): Now package-private.
|
||||
|
||||
2004-11-06 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* javax/naming/directory/BasicAttributes.java (attributes): Now
|
||||
|
@ -521,6 +521,7 @@ public final class ServiceFactory
|
||||
}
|
||||
|
||||
|
||||
// Package-private to avoid a trampoline.
|
||||
/**
|
||||
* Passes a log message to the <code>java.util.logging</code>
|
||||
* framework. This call returns very quickly if no log message will
|
||||
@ -542,7 +543,7 @@ public final class ServiceFactory
|
||||
* <code>null</code> if the log message is not associated with a
|
||||
* Throwable.
|
||||
*/
|
||||
private static void log(Level level, String msg, Object param, Throwable t)
|
||||
static void log(Level level, String msg, Object param, Throwable t)
|
||||
{
|
||||
LogRecord rec;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* gnu.java.rmi.server.ConnectionRunnerPool
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002, 2004 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
@ -95,7 +95,8 @@ class ConnectionRunnerPool
|
||||
private static int size = 5;
|
||||
private static int max_size = 10;
|
||||
|
||||
private static ArrayList freelist;
|
||||
// Package-private to avoid a trampoline.
|
||||
static ArrayList freelist;
|
||||
|
||||
private static ThreadGroup group = new ThreadGroup("pool");
|
||||
|
||||
|
@ -65,8 +65,9 @@ public class UnicastConnectionManager
|
||||
private static String localhost;
|
||||
// use different maps for server/client type UnicastConnectionManager
|
||||
private static Hashtable servers = new Hashtable();
|
||||
private static Hashtable clients = new Hashtable();
|
||||
private ArrayList connections; //client connection pool
|
||||
// Package-private to avoid trampolines.
|
||||
static Hashtable clients = new Hashtable();
|
||||
ArrayList connections; //client connection pool
|
||||
|
||||
// make serverThread volatile for poll
|
||||
private volatile Thread serverThread;
|
||||
@ -74,7 +75,8 @@ private ServerSocket ssock;
|
||||
String serverName;
|
||||
int serverPort;
|
||||
|
||||
static private Thread scavenger;
|
||||
// Package-private to avoid a trampoline.
|
||||
static Thread scavenger;
|
||||
|
||||
// If client and server are in the same VM, serverobj represents server
|
||||
Object serverobj;
|
||||
|
@ -61,8 +61,9 @@ public class UnicastRemoteCall
|
||||
private Object object;
|
||||
private int opnum;
|
||||
private long hash;
|
||||
private Vector vec;
|
||||
private int ptr;
|
||||
// These are package-private due to inner class access.
|
||||
Vector vec;
|
||||
int ptr;
|
||||
private ObjID objid;
|
||||
|
||||
private ObjectOutput oout;
|
||||
|
Loading…
Reference in New Issue
Block a user