From: Alan M. <ala...@gm...> - 2001-08-16 15:01:43
|
Dirk M=F6bius wrote: >I think that with JDK 1.4 Sun finally made the cut and integrated the >new compiler under a different class name. The Java Compiler plugin >uses the class sun.tools.javac.Main, which may be the old one and >might not be aware of the new "-source" option. I'll investigate. >Perhaps I offer an option to choose between the two. Apparently, with jdk1.3 Sun introduced what they call the "modern"=20 compiler, which you access through class "com.sun.tools.javac.Main".=20 You probably want to do like Ant and use the modern compiler if it's=20 available, unless the user specifies the "classic" version. --Alan |