javassist icon indicating copy to clipboard operation
javassist copied to clipboard

Java bytecode engineering toolkit

Results 142 javassist issues
Sort by recently updated
recently updated
newest added

I'm missing a quick way to catch up on all the changes in a new release. Now I could just spend some time and look at the git changes, but...

The `java.rmi` package has been deprecated and is now completely removed from the future versions of java[1], AFAIK from jdk17. There is no replacement for the RMI mechanism. Javassist uses...

method string: public static void Publicinstall$lambda-0(java.lang.Throwable var0){return install$lambda-0(var0);} CtMethod.make(methodstring,ctClass); error: javassist.CannotCompileException: [source error] syntax error near "l$lambda-0(java.lang"

Hi all, I have prepared the initial integration https://github.com/CodeIntelligenceTesting/oss-fuzz/commit/1421c310974cc0d51d73b10ff141477c9a8ac268 of javassist into [google oss-fuzz](https://github.com/google/oss-fuzz). This will enable continuous fuzzing of this project, which will be conducted by Google. Bugs that...

I've found that when the class in question is abstract and has a private constructor and then there are inner classes which extend this class the serial version of the...

Hello, with Java 11 and the attach API java.lang.* classes can not compiled. With Java 14, it works fine. Please see the attached project for a running sample: ``` java...

> public interface MethodInvoke { Object invoke(Object... args); } > public class Target { int hello(int value) { return value + 1; } } > CtClass enhance = pool.makeClass(MethodInvoke.class.getName+$A); >...

IntegerMemberValue's constructor is different from other MemberValue. `public IntegerMemberValue(ConstPool cp, int value)` I think we can use the static factory method instead of the constructor to create MemberValue. like this:...

The following snippet shows that CtConstructor.getAvailableParameterAnnotations() returns a wrong number of arguments for inner class with annotations. Output: Class OkWithoutParamAnnotation: paramCount=2, annotatedParamCount=2 CtClass ShowBugParameterAnnotationsInnerClass$OkWithoutParamAnnotation: paramCount=2, annotatedParamCount=2 Class ErrorWithParamAnnotation: paramCount=2, annotatedParamCount=2...

Hi I could copy a method from one class to another with: newClass = cp.makeClass(newClassName); newClass.addMethod(CtNewMethod.copy(oldClassOldMethod, "test", newClass, null)); But now the source method has changed, it has some concatenated...