This components reminds me of Project Lombok [1]. As I understand the
approach is different, Lombok uses JavaC annotations to generate the
additional code at compile time, while Privilizer post process the class
files with Javassist and works at the bytecode level.

Lombok has a @DoPrivileged annotation, as well as many other ones
[2][3]. The one I find very useful is the @SwingInvokeLater annotation
[4] to ensure the code runs on the UI thread. That's a killer feature
when developing Swing applications.

Maybe the scope of [privilizer] could be widened to other annotations
post processing? I don't know if it's worth competing with Lombok though.


Emmanuel Bourg


[1] http://projectlombok.org
[2] http://projectlombok.org/features
[3] https://github.com/peichhorn/lombok-pg/wiki
[4] http://peichhorn.github.com/lombok-pg/SwingInvoke.html


Le 28/11/2012 21:44, Matt Benson a écrit :
> Hi all,
>   As long as I've been part of the Commons community I don't know that I've
> encountered this exact situation:  a committer adds some code to the
> sandbox that is more or less complete.  I don't know precisely what
> requirements must be met before we promote [privilizer] to proper. We seem
> to have interest from one or more members of the PMC as prospective users;
> this would seem to imply that were I hit by a bus there ought to be someone
> interested in maintaining the component.  Speaking for BVal I intend to put
> this component to immediate use there (that's what I wrote it for!).  Mark
> has mentioned that OWB and perhaps other ASF projects might want to make
> use of it.  What else do I need to do?
> 
> Matt
> 


Attachment: smime.p7s
Description: Signature cryptographique S/MIME

Reply via email to