Jikes fails to compile kaffe classes
Pavel.Roskin at ecsoft.co.uk
Pavel.Roskin at ecsoft.co.uk
Mon Aug 24 02:19:14 PDT 1998
Hello!
Do you think that pizza compiles Kaffe classes?
[/home/proski/local/src/kaffe/libraries/javalib] ./makeJava all
Compiling ./java/net/PlainDatagramSocketImpl.java
[parsing ./java/net/PlainDatagramSocketImpl.java 273ms]
[loading lib/java/io/IOException.class]
[loading lib/java/io/FileDescriptor.class]
[loading lib/java/net/DatagramSocketImpl.class]
[loading lib/java/lang/Object.class]
[loading lib/java/net/SocketOptions.class]
[loading lib/java/net/SocketException.class]
[loading lib/java/net/InetAddress.class]
[loading lib/java/net/DatagramPacket.class]
[loading lib/java/lang/Exception.class]
[loading lib/java/lang/Throwable.class]
./java/net/PlainDatagramSocketImpl.java:42: function socketSetOption(int,
java.l
ang.Object) in class java.net.PlainDatagramSocketImpl cannot override
function s
ocketSetOption(int, java.lang.Object) in class java.net.DatagramSocketImpl
with
weaker access privileges; was public
protected native void socketSetOption(int option, Object value);
^
./java/net/PlainDatagramSocketImpl.java:43: function socketGetOption(int)
in cla
ss java.net.PlainDatagramSocketImpl cannot override function
socketGetOption(int
) in class java.net.DatagramSocketImpl with weaker access privileges; was
public
ide function socketGetOption(int) in class java.net.DatagramSocketImpl with
weak
er access privileges; was public
protected native int socketGetOption(int option);
^
[loading lib/java/lang/Boolean.class]
[loading lib/java/lang/Integer.class]
[loading lib/java/lang/Number.class]
[loading lib/java/lang/String.class]
[loading lib/java/net/UnknownHostException.class]
[loading lib/java/lang/Error.class]
[total 2394ms]
2 errors
not done
There were errors while compiling:
./java/net/PlainDatagramSocketImpl.java
The same in few words means that socketGetOption and socketSetOption are
declared as protected in java/net/PlainDatagramSocketImpl.java and as
public in java/net/PlainSocketImpl.java. Is this the problem you have with
Jikes?
pizza 0.39g, Kaffe latest from CVS, gcc-2.7.2.3, HP-UX 10.20.
Pavel Roskin <pavel.roskin at ecsoft.co.uk>
More information about the kaffe
mailing list