This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
New NIO code needs refactoring
- From: Michael Koch <konqueror at gmx dot de>
- To: Per Bothner <per at bothner dot com>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 16 Mar 2004 13:58:46 +0100
- Subject: New NIO code needs refactoring
Hi Per,
while trying to merge your new cool NIO code into GNU classpath I found
out that it relies on the this old GCJ bug that allows accessing
package-private classes in other packages. Jikes doesnt allow this and
its not valid either.
Jikes gives me (and many other messages not related to this issue).
Found 4 semantic errors compiling
"/home/mkoch/src/classpath/java/nio/channels/FileChannelImpl.java":
49. import java.nio.MappedByteBufferImpl;
^---------------------------^
*** Semantic Error: The type "java.nio.MappedByteBufferImpl" has default
access and is not accessible here.
I ran into this issue months ago too and moved
gnu.java.nio.channels.FileChannelImpl to java.nio package.
Can you refactor your code to allow comilation with jikes please ?
And someone really needs to solve this issue.
Michael