I'm not sure but it looks to me like com.sun.tools.javac.Main invokes
the "modern" compiler by default. Conversely, I can't see how to invoke
the "classic" compiler.
Fergus
James Duncan Davidson wrote:
>
> > Doh! I guess I should have looked at the source carefully - this
> > compiler hasn't been implemented!
>
> Oops. This was a skeleton that I stubbed in to be filled in.. It was
> before the 1.3 stuff was widely used, so I thought I had time.. Guess
> not.
>
> It's easy enough to steal the code from the classic compiler section --
> the syntax differences in the command aren't much different. Mainly it's
> just a switch in the classname of the entry point
> com.sun.tools.javac.Main I beleive.
>
> .duncan
>
> --
> James Davidson duncan@eng.sun.com
> Java + XML / Portable Code + Portable Data !try; do()
--
Fergus Gallagher Tel: +44 (20) 89 87 07 17
Orbis Fax: +44 (20) 87 42 26 49
The Swan Centre email: Fergus.Gallagher@orbisuk.com
Fishers Lane Web: http://www.orbisuk.com
London W4 1RX / UK
|