New NIO code needs refactoring

Michael Koch konqueror@gmx.de
Wed Mar 17 05:46:00 GMT 2004


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /