Name: rmT116609 Date: 09/12/2003
A DESCRIPTION OF THE REQUEST :
It is nice to have a consistant programatic access to compiler in public api. Currently we are using com.sun.javac.Main for programatic compiling. But since com.sun api is not supported, it would be nice if we have such api in some place like java.compile, it could either be wrappers to com.sun.javac or concrete classes. Programatic compiling is too nice a feature to be placed in com.sun.*
To create more stable software which do not break in different OS or in different versions of JDK.
EXPECTED VERSUS ACTUAL BEHAVIOR :
Predictable programatic compiling of java sources across various OSs and future versions of JDK.
com.sun.javac is not supported.
CUSTOMER SUBMITTED WORKAROUND :
use com.sun.javac which are not supported and pray that they still work in future versions of JDK.
(Incident Review ID: 207158)