<h2>Changes</h2>
-<p>-version 3.8
+<p>-version 3.8.0 on June 13, 2008
<ul>
<li>javassist.bytecode.analysis was implemented.
<li>JASSIST-45, 47, 51, 54-57, 60, 62 were fixed.
<project name="javassist" default="jar" basedir=".">
- <property name="dist-version" value="javassist-3.7.1"/>
+ <property name="dist-version" value="javassist-3.8.0"/>
<property environment="env"/>
<property name="target.jar" value="javassist.jar"/>
<zipfileset dir="${basedir}" prefix="${dist-version}">
<include name="**"/>
<exclude name=".*"/>
- <exclude name=".*/**"/>
+ <exclude name=".*/**"/>
<exclude name="build/**"/>
- <exclude name="local/**"/>
+ <exclude name="local/**"/>
+ <exclude name="eclipse-output/**"/>
<exclude name="${dist-version}.zip"/>
<exclude name="${target-src.jar}"/>
</zipfileset>
<description>Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation
simple. It is a class library for editing bytecodes in Java.
</description>
- <version>3.7.1.GA</version>
+ <version>3.8.0.GA</version>
<name>Javassist</name>
<url>http://www.javassist.org/</url>
<build>
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/
/**
* 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.
* 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(')');
// 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+
}
}
- 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;
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;