diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/META-INF/MANIFEST.MF | 2 | ||||
-rw-r--r-- | src/main/javassist/CtClass.java | 2 | ||||
-rw-r--r-- | src/main/javassist/bytecode/Descriptor.java | 2 | ||||
-rw-r--r-- | src/main/javassist/bytecode/annotation/AnnotationImpl.java | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/main/META-INF/MANIFEST.MF b/src/main/META-INF/MANIFEST.MF index ed798ac1..36b360df 100644 --- a/src/main/META-INF/MANIFEST.MF +++ b/src/main/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.1 Specification-Title: Javassist Created-By: Shigeru Chiba, Tokyo Institute of Technology Specification-Vendor: Shigeru Chiba, Tokyo Institute of Technology -Specification-Version: 3.7.1 +Specification-Version: 3.8.0.GA Main-Class: javassist.CtClass Name: javassist/ diff --git a/src/main/javassist/CtClass.java b/src/main/javassist/CtClass.java index 313a7618..9d6d7756 100644 --- a/src/main/javassist/CtClass.java +++ b/src/main/javassist/CtClass.java @@ -52,7 +52,7 @@ public abstract class CtClass { /** * The version number of this release. */ - public static final String version = "3.7.1.GA"; + public static final String version = "3.8.0.GA"; /** * Prints the version number and the copyright notice. diff --git a/src/main/javassist/bytecode/Descriptor.java b/src/main/javassist/bytecode/Descriptor.java index d9db92ba..e2163ad1 100644 --- a/src/main/javassist/bytecode/Descriptor.java +++ b/src/main/javassist/bytecode/Descriptor.java @@ -358,7 +358,7 @@ public class Descriptor { * the last parameter. * * @param type the type of the appended parameter. - * @param desc descriptor + * @param descriptor the original descriptor. */ public static String appendParameter(CtClass type, String descriptor) { int i = descriptor.indexOf(')'); diff --git a/src/main/javassist/bytecode/annotation/AnnotationImpl.java b/src/main/javassist/bytecode/annotation/AnnotationImpl.java index e912cf06..dfd23bb0 100644 --- a/src/main/javassist/bytecode/annotation/AnnotationImpl.java +++ b/src/main/javassist/bytecode/annotation/AnnotationImpl.java @@ -48,7 +48,7 @@ public class AnnotationImpl implements InvocationHandler { // Try to resolve the JDK annotation type method try { Class clazz = Class.forName(JDK_ANNOTATION_CLASS_NAME); - JDK_ANNOTATION_TYPE_METHOD = clazz.getMethod("annotationType", null); + JDK_ANNOTATION_TYPE_METHOD = clazz.getMethod("annotationType", (Class[])null); } catch (Exception ignored) { // Probably not JDK5+ @@ -243,7 +243,7 @@ public class AnnotationImpl implements InvocationHandler { } } - Class otherAnnotationType = (Class) JDK_ANNOTATION_TYPE_METHOD.invoke(obj, null); + Class otherAnnotationType = (Class) JDK_ANNOTATION_TYPE_METHOD.invoke(obj, (Object[])null); if (getAnnotationType().equals(otherAnnotationType) == false) return false; @@ -260,7 +260,7 @@ public class AnnotationImpl implements InvocationHandler { value = mv.getValue(classLoader, pool, methods[i]); if (value == null) value = getDefault(name, methods[i]); - otherValue = methods[i].invoke(obj, null); + otherValue = methods[i].invoke(obj, (Object[])null); } catch (RuntimeException e) { throw e; |