[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath : VMChannels fix
Kaffe CVS
cvs-commits at kaffe.org
Sat Jan 15 09:24:07 PST 2005
PatchSet 5858
Date: 2005/01/15 17:19:49
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Resynced with GNU Classpath : VMChannels fix
2005-01-15 Dalibor Topic <robilad at kaffe.org>
Resynced with GNU Classpath.
2005-01-13 Jeroen Frijters <jeroen at frijters.net>
* vm/reference/java/nio/channels/VMChannels.java: Class shouldn't
be public.
(newInputStream,newOutputStream): No need to be public.
Members:
ChangeLog:1.3402->1.3403
libraries/javalib/java/nio/channels/VMChannels.java:1.1->1.2
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3402 kaffe/ChangeLog:1.3403
--- kaffe/ChangeLog:1.3402 Fri Jan 14 16:52:02 2005
+++ kaffe/ChangeLog Sat Jan 15 17:19:49 2005
@@ -1,3 +1,13 @@
+2005-01-15 Dalibor Topic <robilad at kaffe.org>
+
+ Resynced with GNU Classpath.
+
+ 2005-01-13 Jeroen Frijters <jeroen at frijters.net>
+
+ * vm/reference/java/nio/channels/VMChannels.java: Class shouldn't
+ be public.
+ (newInputStream,newOutputStream): No need to be public.
+
2005-01-14 Jim Huang <jserv at kaffe.org>
* include/jvmpi.h:
Index: kaffe/libraries/javalib/java/nio/channels/VMChannels.java
diff -u kaffe/libraries/javalib/java/nio/channels/VMChannels.java:1.1 kaffe/libraries/javalib/java/nio/channels/VMChannels.java:1.2
--- kaffe/libraries/javalib/java/nio/channels/VMChannels.java:1.1 Thu Jan 13 11:16:38 2005
+++ kaffe/libraries/javalib/java/nio/channels/VMChannels.java Sat Jan 15 17:19:50 2005
@@ -49,7 +49,7 @@
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
-public final class VMChannels
+final class VMChannels
{
/**
* This class isn't intended to be instantiated.
@@ -95,7 +95,7 @@
/**
* Constructs a stream that reads bytes from the given channel.
*/
- public static InputStream newInputStream(ReadableByteChannel ch)
+ static InputStream newInputStream(ReadableByteChannel ch)
{
if (ch instanceof FileChannelImpl)
return (FileInputStream) createStream(FileInputStream.class, ch);
@@ -106,7 +106,7 @@
/**
* Constructs a stream that writes bytes to the given channel.
*/
- public static OutputStream newOutputStream(WritableByteChannel ch)
+ static OutputStream newOutputStream(WritableByteChannel ch)
{
if (ch instanceof FileChannelImpl)
return (FileOutputStream) createStream(FileOutputStream.class, ch);
More information about the kaffe
mailing list