• javassist.bytecode.BadBytecode: cannot find [B

    Hello, I have a problem starting up our application with the latest jboss-5.1.0.CR with enableLoadTimeWeaving=true where javassist throws the exception from the subject header during instrumentation of our classes. W...
    Profile Photo
    created by mike03
  • VerifyErrors related to goto byte code instruction / switch-

    I encountered several issues related to illegal targets of jumps or branches: https://jira.jboss.org/jira/browse/JASSIST-79 and https://jira.jboss.org/jira/browse/JASSIST-80. These issues seem to be related to switch...
    Profile Photo
    last modified by mburger
  • reflection and java.lang.VerifyError

    I'm using javassist to add some functionality to a third-party program. I'm trying to insert some code into the constructor of my target class which calls methods elsewhere in the program to set fields in the target ...
    Profile Photo
    created by jchrist
  • VerifyError when instanciating a generated class (Bad type i

    Dear all, I'm using javassist to generate access class for reflection, following this tutorial: http://www.ibm.com/developerworks/java/library/j-dyn0610/index.html?S_TACT=105AGX02&S_CMP=EDU Everything works fine...
    Profile Photo
    last modified by kromate
  • Can JavaAssist change a static final field?

    Hi, I'm using ClassFile.renameClass as in jbossretro in order to replace instances of a class in a jar to my own class. This is what I wants to achieve: Some classes are using class A: public class A { .... } I've cre...
    Profile Photo
    last modified by kfinkels
  • attempted  duplicate class definition for name:

    Hi, I would like to know it is possible to modify a class that has been already loaded. My test case : MyClass myClass = new MyClass(); ClassPool pool = ClassPool.getDefault(); CtClass cc = pool.get("MyClass"); //m...
    Profile Photo
    created by michenux
  • Adding member value with no name to annotation

    Hi, This is what I'm trying to achieve: ... @Entity @IdClass(MyPKClass.class) public class MyClass { ... } This is a fully javassist generated class, I am able to annotate with the @Entity, even add member ...
    Profile Photo
    last modified by alexandrem
  • Method Paramater annotation not seen on Scala class - but vi

    Hello, I'm trying to use Tapestry 5.0.18 with Scala (2?7?3 and 2.8.0 nightly). It uses method parameter annotations that seem to not be found by Javassist (tested with 3.8, 3.9 and 3.10 GA). The annotation is a java...
    Profile Photo
    last modified by fanf42
  • javassist based hibernate proxies on remote machine with net

    Hi all, I am working on a swing / web application bridge for a swing client. As a communication layer I am using something I would call RMI over HTTP (serialized class data is transfered through HTTP). The swing clie...
    Profile Photo
    created by mati_
  • Retreiving timing information

    Hello, I would like to add timing information to a method. My current strategy is: * Copy the method in question to another method with a different name * Add a new method with the old name ** record current time at...
    Profile Photo
    created by joachimhb
  • Gravel info

    Hi Everyone ! does anybody knows if there is a gravel user guide like rich-faces one ? i was unable to find examples or some kind of documentation about gravel and if it can be used together with facelets (that is: ...
    Profile Photo
    created by marianokm
  • Replace outgoing method call

    Hi, Let's say I have a method M1 in class A that calls method M2 in class B. I would like to replace M1's call to M2 without modifying the byte-code of B (because I cannot byte-code manipulate this class, for example...
    Profile Photo
    last modified by johanhaleby
  • Javassist 3.9

    I noticed that Javassist 3.9 is available for download. I'm frustrated, as usual, that there were NO RELEASE NOTES. Why was there not an announcement? What changes are in 3.9?
    Profile Photo
    last modified by hlship
  • Missing feature? Local variable access/write transformation

    I found it a little strange that this functionality is missing, any plans for it?
    Profile Photo
    created by waperboy
  • javassist 3.8.0 jdk requirement

    I don't see a jdk requirement clearly displayed. Am I missing this somewhere?
    Profile Photo
    created by kevingann
  • package rename

    Hi all, I did not find any way to rename a package, can this be done ? cheers, Pierre
    Profile Photo
    last modified by spampete
  • Thank you and Help us learn how Feature Requests R gathered

    Thank you to everyone who completed the survey! We’re getting great feedback. If you haven’t already participated, please take a few moments to complete the survey located at the ...
    Profile Photo
    created by plaurentphd
  • serialVersionUID issue

    Hi all, I have released a small memory leak detector on http://www.qarks.com web site, which is using javassist. Despite using the serialVersionUID helper, recent tests showed a remaining issue with some serializable...
    Profile Photo
    last modified by spampete
  • Javassist class loader vs. Apache Commons logging

    Hi all, I want to instrument an application that uses the Apache Commons logging component. I use the Javassist class loader and have added my own translator. However, the logging library seems to rely on the class l...
    Profile Photo
    last modified by dietice
  • Using Javassist on J2ME MIDlets

    I would like to use Javassist to modify existing JAD/JAR files for J2ME MIDlets. (Yes I will have permission from the vendor to do this - all the legal considerations are taken care of). Basically I want to display so...
    Profile Photo
    last modified by marcilgen