Have BCEL or ASM or any of the bytecode toolkits taken up the slack on some of 
this yet?

Ted Neward
Java, .NET, XML Services
Consulting, Teaching, Speaking, Writing
http://www.tedneward.com
 

> -----Original Message-----
> From: jvm-languages@googlegroups.com [mailto:jvm-
> [EMAIL PROTECTED] On Behalf Of Charles Oliver Nutter
> Sent: Sunday, July 20, 2008 12:07 PM
> To: jvm-languages@googlegroups.com
> Subject: [jvm-l] Annotation processing without Sun dependency
> 
> 
> 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
> 
> > 
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 270.5.3/1563 - Release Date:
> 7/20/2008 12:59 PM
> 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 270.5.3/1564 - Release Date: 7/21/2008 6:42 
AM
 


--~--~---------~--~----~------------~-------~--~----~
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