This is the mail archive of the mauve-discuss@sources.redhat.com mailing list for the Mauve project.


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

PipedStream/receive.java



Is it just me, or does the file in the subject not compile:

public class receive extends PipedInputStream implements Runnable, Testlet
{
  static Thread main;
  static PipeTest in;
  static PipedOutputStream out;

  PipeTest (PipedOutputStream x) throws IOException
  {
    super(x);
  }
  .
  .
  .

The constructor's name is different from the classname, so compilers
barf.

Peter

-- 
------------------------------------------------------------------------
 Peter Naulls - peter@erble.freeserve.co.uk
 Homepage - http://free.prohosting.com/~chocky/
 Java for RISC OS and ARM - http://free.prohosting.com/~chocky/java/
 Debian Linux on RiscPCs - http://www.erble.freeserve.co.uk/
------------------------------------------------------------------------

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