mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-24 23:16:15 +08:00
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
This commit is contained in:
parent
e48d8b8886
commit
c6f824e248
@ -1,3 +1,10 @@
|
||||
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
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user