.java to binary compilation problem

Jeff Sturm jsturm@sigma6.com
Mon Nov 1 11:08:00 GMT 1999


Fredrik Warg wrote:
>     public boolean func() { spec.harness.Context.out.println( "Yo!"); }

gcj seems to have trouble with ambiguous syntax, like member names vs.
subpackages.  Try shortening this to:

  public boolean func() { Context.out.println( "Yo!"); }

and use an explicit import:

  import spec.harness.Context;

Let us know if that compiles.

-- 
Jeff Sturm
jsturm@sigma6.com


More information about the Java mailing list