Got these while rebuilding hawk's snapshot, don't have time to
investigate further at the moment:
jikes -bootclasspath lib/freenet-ext.jar -sourcepath src -d build
src/freenet/node/Main.java
src/freenet/interfaces/servlet/SingleHttpServletContainer.java
src/freenet/interfaces/servlet/MultipleHttpServletContainer.java
Found 9 semantic errors compiling
"src/freenet/node/rt/TreeRoutingTable.java":
112. Comparable c = getDiscardValue(mem);
<-------->
*** Error: Type Comparable is imported on demand from package java/lang
and package freenet/support.
113. heap.put(new DiscardSort(c, mem.getIdentity()));
<--------------------------------------------->
*** Error: No match was found for method
"put(freenet.node.rt.TreeRoutingTable.DiscardSort)".
116. while (num-- > 0 && null != (d = (DiscardSort)
heap.pop()))
<-------->
*** Error: An expression of type "Comparable" cannot be cast into type
"DiscardSort".
120. private static final class DiscardSort implements Comparable
{
<-------->
*** Error: Type Comparable is imported on demand from package java/lang
and pack
age freenet/support.
120. private static final class DiscardSort implements Comparable
{
<-------->
*** Error: Type Comparable is imported on demand from package java/lang
and pack
age freenet/support.
120. private static final class DiscardSort implements Comparable
{
<-------->
*** Error: Type Comparable is imported on demand from package java/lang
and pack
age freenet/support.
121. final Comparable cmp;
<-------->
*** Error: Type Comparable is imported on demand from package java/lang
and pack
age freenet/support.
123. DiscardSort(Comparable cmp, Identity ident) {
<-------->
*** Error: Type Comparable is imported on demand from package java/lang
and pack
age freenet/support.
140. protected abstract Comparable getDiscardValue(RoutingMemory
mem);
<-------->
*** Error: Type Comparable is imported on demand from package java/lang
and pack
age freenet/support.
Found 1 semantic error compiling
"src/freenet/node/rt/CPAlgoRoutingTable.java":
110. protected final Comparable getDiscardValue(RoutingMemory mem)
{
<-------------------------------->
*** Error: The return type of method "freenet.support.Comparable
getDiscardValue
(freenet.node.rt.RoutingMemory mem);" does not match the return type of
method "
java.lang.Comparable getDiscardValue(freenet.node.rt.RoutingMemory mem);"
inheri
ted from type "freenet/node/rt/TreeRoutingTable".
--
Ian Clarke ian at freenetproject.org
Founder & Coordinator, The Freenet Project http://freenetproject.org/
Chief Technology Officer, Uprizer Inc. http://www.uprizer.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20020207/b2c806f0/attachment.pgp>