[kaffe] Re: Makefile for java.nio
Daniel Bonniot
Daniel.Bonniot at inria.fr
Wed May 28 12:26:01 PDT 2003
Actually, it might not be that the classes are missing. It is that the
compiler (kjc) finds errors in them (so they probably get ignored after
that). Although I'm not sure, because there are both java.nio.*Impl and
gnu.java.nio.*Impl. There might be two separate issues.
Or could it be a kjc bug? I'll try with jikes.
The build starts with:
Compiling classes from @essential.files using
/usr/local/src/kaffe/kaffe/kaffe/kaffe-bin -verbosegc at.dms.kjc.Main
The relevant error messages are:
gnu/java/nio/CharBufferImpl.java:55: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/CharBufferImpl.java:62: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/CharBufferImpl.java:69: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/CharBufferImpl.java:78: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/CharBufferImpl.java:199: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/CharBufferImpl.java:179: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/CharBufferImpl.java:173: error:Method "get" must return a
value [JLS 8.4.5]
gnu/java/nio/CharBufferImpl.java:162: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/CharBufferImpl.java:146: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/CharBufferImpl.java:148: error:Local variable "e" may have
not been initialized before use [JLS 14.4]
gnu/java/nio/CharBufferImpl.java:144: error:Method "get" must return a
value [JLS 8.4.5]
gnu/java/nio/CharBufferImpl.java:101: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/CharBufferImpl.java:99: error:Method "slice" must return a
value [JLS 8.4.5]
gnu/java/nio/CharBufferImpl.java:88: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/CharBufferImpl.java:89: error:Local variable "res" may have
not been initialized before use [JLS 14.4]
gnu/java/nio/CharBufferImpl.java:90: error:Local variable "res" may have
not been initialized before use [JLS 14.4]
gnu/java/nio/CharBufferImpl.java:86: error:Method "asByteBuffer" must
return a value [JLS 8.4.5]
[ checked body of gnu/java/nio/CharBufferImpl.java in 129 ms ]
gnu/java/nio/DoubleBufferImpl.java:55: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/DoubleBufferImpl.java:62: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/DoubleBufferImpl.java:69: error:Variable "backing_buffer"
is not defined in current context
gnu/java/nio/DoubleBufferImpl.java:76: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/DoubleBufferImpl.java:152: error:Variable "backing_buffer"
is not defined in current context
gnu/java/nio/DoubleBufferImpl.java:144: error:Variable "backing_buffer"
is not defined in current context
gnu/java/nio/DoubleBufferImpl.java:142: error:Method "get" must return a
value [JLS 8.4.5]
gnu/java/nio/DoubleBufferImpl.java:137: error:Variable "backing_buffer"
is not defined in current context
gnu/java/nio/DoubleBufferImpl.java:127: error:Variable "backing_buffer"
is not defined in current context
gnu/java/nio/DoubleBufferImpl.java:129: error:Local variable "e" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/DoubleBufferImpl.java:125: error:Method "get" must return a
value [JLS 8.4.5]
gnu/java/nio/DoubleBufferImpl.java:86: error:Variable "backing_buffer"
is not defined in current context
gnu/java/nio/DoubleBufferImpl.java:87: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/DoubleBufferImpl.java:88: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/DoubleBufferImpl.java:84: error:Method "asByteBuffer" must
return a value [JLS 8.4.5]
[ checked body of gnu/java/nio/DoubleBufferImpl.java in 82 ms ]
gnu/java/nio/LongBufferImpl.java:55: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/LongBufferImpl.java:62: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/LongBufferImpl.java:69: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/LongBufferImpl.java:78: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/LongBufferImpl.java:152: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/LongBufferImpl.java:144: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/LongBufferImpl.java:142: error:Method "get" must return a
value [JLS 8.4.5]
gnu/java/nio/LongBufferImpl.java:137: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/LongBufferImpl.java:127: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/LongBufferImpl.java:129: error:Local variable "e" may have
not been initialized before use [JLS 14.4]
gnu/java/nio/LongBufferImpl.java:125: error:Method "get" must return a
value [JLS 8.4.5]
gnu/java/nio/LongBufferImpl.java:88: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/LongBufferImpl.java:89: error:Local variable "res" may have
not been initialized before use [JLS 14.4]
gnu/java/nio/LongBufferImpl.java:90: error:Local variable "res" may have
not been initialized before use [JLS 14.4]
gnu/java/nio/LongBufferImpl.java:86: error:Method "asByteBuffer" must
return a value [JLS 8.4.5]
[ checked body of gnu/java/nio/LongBufferImpl.java in 156 ms ]
gnu/java/nio/ShortBufferImpl.java:55: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/ShortBufferImpl.java:62: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/ShortBufferImpl.java:69: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/ShortBufferImpl.java:78: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/ShortBufferImpl.java:152: error:Variable "backing_buffer"
is not defined in current context
gnu/java/nio/ShortBufferImpl.java:144: error:Variable "backing_buffer"
is not defined in current context
gnu/java/nio/ShortBufferImpl.java:142: error:Method "get" must return a
value [JLS 8.4.5]
gnu/java/nio/ShortBufferImpl.java:137: error:Variable "backing_buffer"
is not defined in current context
gnu/java/nio/ShortBufferImpl.java:127: error:Variable "backing_buffer"
is not defined in current context
gnu/java/nio/ShortBufferImpl.java:129: error:Local variable "e" may have
not been initialized before use [JLS 14.4]
gnu/java/nio/ShortBufferImpl.java:125: error:Method "get" must return a
value [JLS 8.4.5]
gnu/java/nio/ShortBufferImpl.java:88: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/ShortBufferImpl.java:89: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/ShortBufferImpl.java:90: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/ShortBufferImpl.java:86: error:Method "asByteBuffer" must
return a value [JLS 8.4.5]
[ checked body of gnu/java/nio/ShortBufferImpl.java in 75 ms ]
gnu/java/nio/IntBufferImpl.java:55: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/IntBufferImpl.java:62: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/IntBufferImpl.java:69: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/IntBufferImpl.java:78: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/IntBufferImpl.java:152: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/IntBufferImpl.java:144: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/IntBufferImpl.java:142: error:Method "get" must return a
value [JLS 8.4.5]
gnu/java/nio/IntBufferImpl.java:137: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/IntBufferImpl.java:127: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/IntBufferImpl.java:129: error:Local variable "e" may have
not been initialized before use [JLS 14.4]
gnu/java/nio/IntBufferImpl.java:125: error:Method "get" must return a
value [JLS 8.4.5]
gnu/java/nio/IntBufferImpl.java:88: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/IntBufferImpl.java:89: error:Local variable "res" may have
not been initialized before use [JLS 14.4]
gnu/java/nio/IntBufferImpl.java:90: error:Local variable "res" may have
not been initialized before use [JLS 14.4]
gnu/java/nio/IntBufferImpl.java:86: error:Method "asByteBuffer" must
return a value [JLS 8.4.5]
[ checked body of gnu/java/nio/IntBufferImpl.java in 33 ms ]
gnu/java/nio/ByteBufferImpl.java:59: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/ByteBufferImpl.java:66: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/ByteBufferImpl.java:73: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/ByteBufferImpl.java:93: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/ByteBufferImpl.java:111: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/ByteBufferImpl.java:129: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/ByteBufferImpl.java:147: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/ByteBufferImpl.java:165: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/ByteBufferImpl.java:183: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/ByteBufferImpl.java:201: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/ByteBufferImpl.java:275: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/ByteBufferImpl.java:267: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/ByteBufferImpl.java:265: error:Method "get" must return a
value [JLS 8.4.5]
gnu/java/nio/ByteBufferImpl.java:260: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/ByteBufferImpl.java:250: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/ByteBufferImpl.java:252: error:Local variable "e" may have
not been initialized before use [JLS 14.4]
gnu/java/nio/ByteBufferImpl.java:248: error:Method "get" must return a
value [JLS 8.4.5]
gnu/java/nio/ByteBufferImpl.java:211: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/ByteBufferImpl.java:212: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/ByteBufferImpl.java:213: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/ByteBufferImpl.java:209: error:Method "asDoubleBuffer" must
return a value [JLS 8.4.5]
gnu/java/nio/ByteBufferImpl.java:193: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/ByteBufferImpl.java:194: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/ByteBufferImpl.java:195: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/ByteBufferImpl.java:191: error:Method "asFloatBuffer" must
return a value [JLS 8.4.5]
gnu/java/nio/ByteBufferImpl.java:175: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/ByteBufferImpl.java:176: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/ByteBufferImpl.java:177: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/ByteBufferImpl.java:173: error:Method "asLongBuffer" must
return a value [JLS 8.4.5]
gnu/java/nio/ByteBufferImpl.java:157: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/ByteBufferImpl.java:158: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/ByteBufferImpl.java:159: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/ByteBufferImpl.java:155: error:Method "asIntBuffer" must
return a value [JLS 8.4.5]
gnu/java/nio/ByteBufferImpl.java:139: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/ByteBufferImpl.java:140: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/ByteBufferImpl.java:141: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/ByteBufferImpl.java:137: error:Method "asShortBuffer" must
return a value [JLS 8.4.5]
gnu/java/nio/ByteBufferImpl.java:121: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/ByteBufferImpl.java:122: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/ByteBufferImpl.java:123: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/ByteBufferImpl.java:119: error:Method "asCharBuffer" must
return a value [JLS 8.4.5]
gnu/java/nio/ByteBufferImpl.java:103: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/ByteBufferImpl.java:104: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/ByteBufferImpl.java:105: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/ByteBufferImpl.java:101: error:Method "asByteBuffer" must
return a value [JLS 8.4.5]
[ checked body of gnu/java/nio/ByteBufferImpl.java in 195 ms ]
gnu/java/nio/FloatBufferImpl.java:55: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/FloatBufferImpl.java:62: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/FloatBufferImpl.java:69: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/FloatBufferImpl.java:78: error:Cannot find field
"backing_buffer" [JLS 15.11]
gnu/java/nio/FloatBufferImpl.java:152: error:Variable "backing_buffer"
is not defined in current context
gnu/java/nio/FloatBufferImpl.java:144: error:Variable "backing_buffer"
is not defined in current context
gnu/java/nio/FloatBufferImpl.java:142: error:Method "get" must return a
value [JLS 8.4.5]
gnu/java/nio/FloatBufferImpl.java:137: error:Variable "backing_buffer"
is not defined in current context
gnu/java/nio/FloatBufferImpl.java:127: error:Variable "backing_buffer"
is not defined in current context
gnu/java/nio/FloatBufferImpl.java:129: error:Local variable "e" may have
not been initialized before use [JLS 14.4]
gnu/java/nio/FloatBufferImpl.java:125: error:Method "get" must return a
value [JLS 8.4.5]
gnu/java/nio/FloatBufferImpl.java:88: error:Variable "backing_buffer" is
not defined in current context
gnu/java/nio/FloatBufferImpl.java:89: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/FloatBufferImpl.java:90: error:Local variable "res" may
have not been initialized before use [JLS 14.4]
gnu/java/nio/FloatBufferImpl.java:86: error:Method "asByteBuffer" must
return a value [JLS 8.4.5]
[ checked body of gnu/java/nio/FloatBufferImpl.java in 54 ms ]
[ checked body of gnu/java/nio/charset/ISO_8859_1.java in 39 ms ]
<GC: heap 10240K, total before 9626K, after 7555K (139512/99349 objs)
26.2% free, alloced 23669K (#83134), marked 3315K, swept 2071K (#40163)
5 objs (0K) awaiting finalization>
[ checked body of gnu/java/nio/charset/Provider.java in 354 ms ]
[ checked body of gnu/java/nio/charset/US_ASCII.java in 28 ms ]
[ checked body of gnu/java/nio/charset/UTF_16BE.java in 3 ms ]
[ checked body of gnu/java/nio/charset/UTF_16Decoder.java in 80 ms ]
[ checked body of gnu/java/nio/charset/UTF_16Encoder.java in 9 ms ]
[ checked body of gnu/java/nio/charset/UTF_16.java in 3 ms ]
[ checked body of gnu/java/nio/charset/UTF_16LE.java in 3 ms ]
[ checked body of gnu/java/nio/charset/UTF_8.java in 56 ms ]
[ checked body of gnu/java/nio/DatagramChannelImpl.java in 17 ms ]
[ checked body of gnu/java/nio/FileChannelImpl.java in 281 ms ]
[ checked body of gnu/java/nio/MappedByteFileBuffer.java in 139 ms ]
[ checked body of gnu/java/nio/MappedCharFileBuffer.java in 99 ms ]
[ checked body of gnu/java/nio/MappedDoubleFileBuffer.java in 96 ms ]
<GC: heap 10240K, total before 9269K, after 7656K (143187/103876 objs)
25.2% free, alloced 7358K (#69269), marked 3403K, swept 1613K (#39311)
13 objs (0K) awaiting finalization>
[ checked body of gnu/java/nio/MappedFloatFileBuffer.java in 374 ms ]
[ checked body of gnu/java/nio/MappedIntFileBuffer.java in 142 ms ]
[ checked body of gnu/java/nio/MappedLongFileBuffer.java in 123 ms ]
[ checked body of gnu/java/nio/MappedShortFileBuffer.java in 83 ms ]
[ checked body of gnu/java/nio/PipeImpl.java in 0 ms ]
[ checked body of gnu/java/nio/SelectionKeyImpl.java in 3 ms ]
[ checked body of gnu/java/nio/SelectorImpl.java in 116 ms ]
[ checked body of gnu/java/nio/SelectorProviderImpl.java in 3 ms ]
[ checked body of gnu/java/nio/ServerSocketChannelImpl.java in 24 ms ]
[ checked body of gnu/java/nio/SocketChannelImpl.java in 47 ms ]
[ checked body of java/nio/Buffer.java in 6 ms ]
java/nio/FloatBuffer.java:80: error:Cannot find class "FloatBufferImpl"
[JLS 8]
[ checked body of java/nio/FloatBuffer.java in 15 ms ]
[ checked body of java/nio/MappedByteBuffer.java in 1 ms ]
java/nio/ByteBuffer.java:90: error:Cannot find class "ByteBufferImpl"
[JLS 8]
[ checked body of java/nio/ByteBuffer.java in 91 ms ]
java/nio/CharBuffer.java:80: error:Cannot find class "CharBufferImpl"
[JLS 8]
[ checked body of java/nio/CharBuffer.java in 68 ms ]
java/nio/IntBuffer.java:80: error:Cannot find class "IntBufferImpl" [JLS 8]
[ checked body of java/nio/IntBuffer.java in 96 ms ]
[ checked body of java/nio/ByteOrder.java in 2 ms ]
More information about the kaffe
mailing list