aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-05-13 10:25:00 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2003-05-13 10:25:00 +0000
commitc6f824e248c6552e593590be4107633e1cf266c7 (patch)
treee68d3d5d12ef21a52873cf5bf3040dda7428356c
parente48d8b88869563f85f2c83108257615f1cc73c76 (diff)
downloadgcc-c6f824e248c6552e593590be4107633e1cf266c7.zip
gcc-c6f824e248c6552e593590be4107633e1cf266c7.tar.gz
gcc-c6f824e248c6552e593590be4107633e1cf266c7.tar.bz2
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
-rw-r--r--libjava/ChangeLog7
-rw-r--r--libjava/java/nio/channels/FileChannel.java2
-rw-r--r--libjava/java/nio/charset/Charset.java2
3 files changed, 9 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 363681e..05f17e4 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,5 +1,12 @@
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.
diff --git a/libjava/java/nio/channels/FileChannel.java b/libjava/java/nio/channels/FileChannel.java
index 3fa0f35..708a50c 100644
--- a/libjava/java/nio/channels/FileChannel.java
+++ b/libjava/java/nio/channels/FileChannel.java
@@ -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);
diff --git a/libjava/java/nio/charset/Charset.java b/libjava/java/nio/charset/Charset.java
index 889267f..e0f27e6 100644
--- a/libjava/java/nio/charset/Charset.java
+++ b/libjava/java/nio/charset/Charset.java
@@ -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
{