mxj calling constructor?


    Jul 07 2006 | 9:59 pm

    • Jul 08 2006 | 9:15 am
      This isn't a constructor; it's a method, since you've given it a return type of void. I'm rather surprised that it compiles at all, but at least according to Eclipse it's legal, although I do get a warning. I'm several hundred miles from my copy of the Java Language Specification right now so can't look it up.
      -- N.
      nick rothwell -- composition, systems, performance -- http:// www.cassiel.com
    • Jul 08 2006 | 4:30 pm
      It certainaly is legal. IIRC, it was in Roedy Green's unmaintainable code how-to at one point.