throw new Error ("not implemented");
return implTruncate (size);
  public FileChannel truncate (long size)    throws IOException  {    if (size < 0)      throw new IllegalArgumentException ();    if (!isOpen ())      throw new ClosedChannelException ();    // FIXME: check for NonWritableChannelException    throw new Error ("not implemented");  }