2004-04-22 Michael Koch <konqueror@gmx.de>

* java/net/Socket.java
	(impl): Made package-private.
	* java/net/ServerSocket.java
	(implAccept): Access Socket.impl field directly.

From-SVN: r81005
This commit is contained in:
Michael Koch 2004-04-22 06:49:53 +00:00 committed by Michael Koch
parent c0dce2359c
commit 5d79367d7a
3 changed files with 13 additions and 3 deletions

View file

@ -78,13 +78,15 @@ public class Socket
/**
* The implementation object to which calls are redirected
*/
private SocketImpl impl;
// package-private because ServerSocket.implAccept() needs to access it.
SocketImpl impl;
/**
* True if socket implementation was created by calling their
* create() method.
*/
private boolean implCreated;
// package-private because ServerSocket.implAccept() needs to access it.
boolean implCreated;
/**
* True if the socket is bound.