diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2008-06-13 10:32:20 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2008-06-13 10:32:20 +0000 |
commit | 08ac7045cecec91cdc107349742c207af47ff055 (patch) | |
tree | 0000355f1f7f34cd898165661917a4f361bc03c2 /src | |
parent | 11e5f025c130be598d14f78ca227164d70a80a1f (diff) | |
download | javassist-rel_3_8_0_ga.tar.gz javassist-rel_3_8_0_ga.zip |
for 3.8.0.GA releaserel_3_8_0_ga
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@445 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
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; |