I've hunted through the Javassist API, but I can't find what I think is 
something it should be able to do.

I'd like to read in a .java file and create a class in memory without writing 
out a .class file. Unfortunately, com.sun.tools.javac.Main doesn't seem to have 
a way to output the bytecode to anything other than a file in the filesystem. 
And CtClass doesn't seem to have a constructor that accepts a source code 
stream rather than a stream of bytecodes.

Is this possible with Javassist? If not, any other ideas how I might go about 
it?

Thanks,
Todd

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903995#3903995

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903995


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to