• Array access

    Hi Chiba, Just got back from meeting everybody in Las Vegas. A new thing a lot of people need is interception of access to elements in arrays. http://jira.jboss.com/jira/browse/JBAOP-265 I think this could work sim...
    Profile Photo
    last modified by kabirkhan
  • Question about instrumentation with javassis

    how are u all i am asking about how could i get the number of hits for each line(number of times that this line executed ) in the byte code thanks for ur interest
    Profile Photo
    last modified by arabicmind
  • insertBefore and replacing support for throw.

    Hi, I've been looking the source code of javassist in order to add insertBefore and replacing support for the throw operation. I've found that throw is considered a statement but I can't find a way to use it like a C...
    Profile Photo
    last modified by badgercl
  • Local variable access

    I would need support for local variable access from an ExprEditor; I've seen a message about that in 2005 from 'gpothier'. What is the status of that work? Is that available anyhow? Thx, _marc
    Profile Photo
    created by mpo
  • add a new annotation problem

    Hi all, I am working on ejb3 project. Ejb3 always use some annotations such as "@Stateless","@Remote", "@RemoteBinding" and etc. Now I want to use javassist to generate these annotations. But have some problem. Can y...
    Profile Photo
    last modified by coral
  • Bug in CodeGen class

    Hi! I found a bug in getArrayWriteOp method!! There is not treatment for a write operation on a array of type short. This simple line solve the problem: case SHORT : return SASTORE; thanks
    Profile Photo
    last modified by timba
  • jbossall-client.jar cause exception with tomcat

    Hi all. I want to use jbossall-client.jar of version 4.0.3. When I try to connect to the jboss application server (through tomcat) I get the following exception: javax.management.MBeanException: nested exception is I...
    Profile Photo
    last modified by litalh
  • "Illegal exception table range" preverify error

    Hi, I encountered the following error: Error preverifying class Test VERIFIER ERROR Test.open()V: Illegal exception table range after trying to copy a constructor body to a new method with the following instruction...
    Profile Photo
    created by thematrix
  • how to put image file on client machine through JBOSS

    I need to imlement the functionality like google map on website, where my server is JBOSS server. We used the newest technology SVG(scalable vector graphics) which doesn't loose the image quaility on increasing the si...
    Profile Photo
    created by bhupendra1980
  • Serious bug found

    Hello, I found a serious bug inside the Javassist code that can lead to the changes of the CtClass interface. How can I discuss it and how I submit it back. Thank you
    Profile Photo
    last modified by renat-zubairov
  • Proxy serialization

    I'm trying to use Javassist proxy generation instead of JDK proxy generation, so I can change the classname generated (among other things) (see EJBTRHEE-485). Two problems: 1. Javassist proxies are not serializable (...
    Profile Photo
    last modified by wolfc
  • rel 3.1 - Problem with CtBehavior#getParameterAnnotations

    The documentation of CtBehavior#getParameterAnnotations only states "@return an array of annotation-type objects". It doesn't mention what is returned when none of the parameters is annotated. However, most of the in...
    Profile Photo
    last modified by yanic
  • Why an abstract class generated?

    I try to create a class BasicType public class BasicType implements java.io.Serializable{ String _ISBN; public java.lang.String getISBN(); public void setISBN(java.lang.String); public BasicType(); } But I always ge...
    Profile Photo
    created by changzhou
  • Generated class extending a generic class

    Is it possible to generate a (non-generic) class through Javassist that extends an abstract, generic class or interface? How can this be achieved?
    Profile Photo
    last modified by stephan.bloch
  • rel 3.1 - Problem with CtMethod#equals

    (release 3.1) The implementation of class CtMethod regards a seed and its redefinitions as equals. This can cause problems when their CtMethod objects are stored in a Collection or used as keys in a Map. It would be ...
    Profile Photo
    created by yanic
  • Expand handling of ProxyFactory getClassLoader selection pro

    As mentioned in: http://jira.jboss.com/jira/browse/JASSIST-18 the current selection of the ProxyFactory.getClassLoader does not deal with the case of the proxy superclass class loader being null. This is seen when on...
    Profile Photo
    last modified by starksm64
  • Changing the Exception of MethodHandler to Throwable

    The exception throws clause of the javassist.util.proxy.MethodHandler.invoke method should really be a Throwable rather than an exception, otherwise the basic implementation of delegating to another object via reflect...
    Profile Photo
    last modified by starksm64
  • Proxying a class for O/R mapping framework

    I'm in the process of building in EJB 3.0 persistence support for an open source persistence product (http://hydrate.sourceforge.net) that I support and was looking to use javassist to do the necessary bytecode manipu...
    Profile Photo
    created by dawidcha
  • CtClass.stopPruning signature change

    The CtClass.stopPruning method had an incompatible change between 1.59 and 1.60: public void stopPruning(boolean stop) {} public boolean stopPruning(boolean stop) { return true; } that results in the following...
    Profile Photo
    created by starksm64
  • Changes to annotation processing

    I have made two changes to the annotation processing, such that the annotations can be used in JDK1.4 after pruning. 1) Keep default annotation and parameter annotation data after pruning. I still to test that all of...
    Profile Photo
    created by adrian.brock