2004-02-26 Michael Koch <konqueror@gmx.de>

* gnu/java/nio/FileLockImpl.java
	(finalize): Made protected.
	* java/nio/channels/FileChannel.java
	(MapMode.READ_ONLY): Made final.
	(MapMode.READ_WRITE): Made final.
	(MapMode.PRIVATE): Made final.
	* java/nio/channels/SocketChannel.java
	(open): Simplified code.
	* java/nio/channels/spi/AbstractSelectableChannel.java
	(registered): Unused, removed.
	(keyFor): Check channel is open, only locate key
	and not add a new one.
	(register): Don't delete attachments.

From-SVN: r78519
This commit is contained in:
Michael Koch 2004-02-26 19:45:51 +00:00 committed by Michael Koch
parent 135d78c600
commit f57db409bc
5 changed files with 30 additions and 12 deletions

View file

@ -68,7 +68,7 @@ public class FileLockImpl extends FileLock
this.fd = fd;
}
public void finalize()
protected void finalize()
{
try
{