>>>>> "Audrius" == Audrius Meskauskas <[EMAIL PROTECTED]> writes:

Audrius> This patch adds java.rmi version jdk 1.2+ stub generator to the
Audrius> classpath tools package.

We used to have rmic in classpath.  Then we moved it to
classpath-tools.  Then Archit rewrote it to use ASM instead of having
it generate java source code.

The rewrite was needed for performance.  See the original post:

    http://lists.gnu.org/archive/html/classpath/2005-05/msg00085.html

Audrius> Source code (rather than binary) output
Audrius> and template system seems providing the easier maintenance.

Performance actually turns out to matter more, since this stuff is
used by things like jonas.  Also, emitting bytecode can be readable
and maintainable, it just needs to be done smartly (commented, use a
nice library like ASM), etc.

I'd really prefer we merge the cp-tools stuff back into classpath
proper, and find a way to import and build ASM as part of our build
process.

It seems kind of bad to have two rmic implementations (3 if you count
the fact that the old .java-producing one still lives in libgcj... we
never got around to our own ASM import there).

Tom

Reply via email to