| In order to fix the problem of failing to compile big JSPs
with large # of tags using sun.tools.javac.Main with JDK 1.4.x,
this default compiler is modified to use sun.tools.javac.Main
only in the case of JDK 1.3.x (or earlier JDK versions) and use
com.sun.tools.javac.Main in the case of JDK 1.4.x.
The Java Reflection mechanism is used to switch between these
two cases and appropriate initialization is done within the static
initializer block to improve the performance.
|