Ok, I've got a problem. In JRuby 1.1.3 we started using a compile-time 
annotation processor to pre-generate a bunch of code. This has helped 
startup time, since before we did this processing at runtime using Java 
reflection classes, and just using those classes increased both memory 
and startup time.

But the problem is that in order to an offline annotation processing, we 
need to use Sun-specific APIs for the "apt" tool, and need a reflection 
API that doesn't cause/require the classes to be loaded, since the code 
we're generating will depend on things that have not been compiled yet. 
So we're using the com.sun.mirror classes for the annotation processor 
and all the reflection.

Obviously this means a build-time dependency on a Sun JDK, since 
annotation processing has not yet been standardized. This complicates 
folks on non-Sun JDKs keeping up with JRuby trunk, since they can't 
build it. The dependency does not extend to runtime, however.

So my questions:

Is there a third-party annotation processing tool/library we could use 
instead?

- Charlie

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to jvm-languages@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to