preprocessing java source
Anthony Green
green@redhat.com
Sat Jun 23 12:20:00 GMT 2001
I'd like to experiment with creating different
runtime profiles, similar to the J2ME profiles for embedded
systems.
ÃÂ
This will require different versions of some of the
core classes (no floating point, no finalization, etc).ÃÂ I can just copy
the .java files and maintain different versions -- but I'd rather just
conditionally compile the code.
ÃÂ
I think the only preprocessing required will be to
support...
ÃÂ
#ifdef USE_FINALIZATION
#else
#endif
ÃÂ
...style preprocessing.
ÃÂ
I wouldn't be so worried if we didn't share code
with Classpath.ÃÂ
ÃÂ
Any ideas/opinions?
ÃÂ
AG
More information about the Java
mailing list