Commit c6f824e2 by Michael Koch Committed by Michael Koch

2003-05-13 Michael Koch <konqueror@gmx.de>

	* java/nio/channels/FileChannel.java
	(MapMode.m): Made it package-private to match JDK 1.4.
	* java/nio/charset/Charset.java
	(decode): Made it final to match JDK 1.4.

From-SVN: r66756
parent e48d8b88
2003-05-13 Michael Koch <konqueror@gmx.de>
* java/nio/channels/FileChannel.java
(MapMode.m): Made it package-private to match JDK 1.4.
* java/nio/charset/Charset.java
(decode): Made it final to match JDK 1.4.
2003-05-13 Michael Koch <konqueror@gmx.de>
* java/io/FileDescriptor.java
(SYNC): New constant.
(DSYNC): Likewise.
......
......@@ -51,7 +51,7 @@ public abstract class FileChannel extends AbstractInterruptibleChannel
{
public static class MapMode
{
public int m;
int m;
public static MapMode READ_ONLY = new MapMode(0);
public static MapMode READ_WRITE = new MapMode(1);
......
......@@ -235,7 +235,7 @@ public abstract class Charset implements Comparable
return encode (CharBuffer.wrap (str));
}
public CharBuffer decode (ByteBuffer bb)
public final CharBuffer decode (ByteBuffer bb)
{
try
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment