------- Comment #18 from aph at gcc dot gnu dot org  2006-05-03 10:22 -------
gcj -findirect-dispatch doesn't work with .java files, only with .class files,
so I didn't try it.

class XMLStreamWriter 
{
  void writeCharacters(String s) {}
}

class XMLStreamException extends Exception {}

public class StAXWriter
{
  XMLStreamWriter writer;
  int indent = 0;
  public void writeEnd(boolean wasEmpty)
  {
    try
      {
        indent -= 2;
        for (int i = 0; i < indent; i++)
          writer.writeCharacters(" ");
      }
    catch (XMLStreamException xmlse)
      {
      }
  }
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26447

Reply via email to