Name: rlT66838 Date: 07/17/97
Dear sir,
I'm currently involved in dynamic creation of Java classes.
What I do is writing the source code of the dynamically-created class in a file, then calling the javac compiler via the exec method of class Runtime.
This leads to 2 problems :
- I must be able to write somewhere on some hard disk (not even considering packages problems).
- I cannot call the javac compiler in a portable way.
One thing i would be very happy to find is a class that represents the javac compiler.
One of its methods would read the source code in an InputStream object, then return
the bytecode in 1 or several byte[]
To say it abruptly, Java needs more of the features of SmallTalk.
Having a Sheduler class would be fine, too.
Thanks a lot for taking the time to consider this feature request.
======================================================================