This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]