JNodeOS v1.2.0 API

edu.utah.janos.tests
Class OverloadingCompilerBug

java.lang.Object
  |
  +--edu.utah.janos.nodeos.FlowRun
        |
        +--edu.utah.janos.util.FlowBase
              |
              +--edu.utah.janos.tests.OverloadingCompilerBug

public class OverloadingCompilerBug
extends FlowBase

Kaffe's KJC compiler has a bug where it cannot distinguish correctly between overloaded methods put(byte), put(short), and put(int). The XDR code in ANTSR relies heavily on this distinction.

Its pretty obvious if you have the bug.

Author:
Janos Ministry of Development

Fields inherited from class edu.utah.janos.util.FlowBase
args, bufferHandleFreeList, commSpaceHandle, flow
 
Constructor Summary
OverloadingCompilerBug()
           
 
Method Summary
 void check()
           
 void checkOffset(int supposedToBe)
           
 void put(byte x)
           
 void put(int z)
           
 void put(short y)
           
 void start()
           
 
Methods inherited from class edu.utah.janos.util.FlowBase
run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OverloadingCompilerBug

public OverloadingCompilerBug()
Method Detail

start

public void start()
Overrides:
start in class FlowBase

put

public void put(byte x)

put

public void put(short y)

put

public void put(int z)

checkOffset

public void checkOffset(int supposedToBe)

check

public void check()

JNodeOS v1.2.0 API

This documentation is Copyright (C) 1998-2002 The University of Utah. All Rights Reserved. See the file LICENSE for distribution terms.
Documentation, software, and mailing list archives for Janos can be found at the Janos Project web site: http://www.cs.utah.edu/flux/janos/
Generated on Mar 17, 2002