]> source.dussan.org Git - javassist.git/commitdiff
for 3.8.0.GA release rel_3_8_0_ga
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Fri, 13 Jun 2008 10:32:20 +0000 (10:32 +0000)
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Fri, 13 Jun 2008 10:32:20 +0000 (10:32 +0000)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@445 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

Readme.html
build.xml
pom.xml
src/main/META-INF/MANIFEST.MF
src/main/javassist/CtClass.java
src/main/javassist/bytecode/Descriptor.java
src/main/javassist/bytecode/annotation/AnnotationImpl.java

index df7b5f2081f2a63d0403e552a013269f9a7ebe7f..a1255c4c2b26890fbb6a1298d5b24ed26edf51eb 100644 (file)
@@ -281,7 +281,7 @@ see javassist.Dump.
 
 <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.
index 78e5c749f484414fe2ba589956158475673262b6..978f9b9dfb3a5a3619d76ad1757425bb0b55edb8 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -6,7 +6,7 @@
 
 <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"/>
@@ -182,9 +182,10 @@ Copyright (C) 1999-2008 Shigeru Chiba. All Rights Reserved.</i>]]></bottom>
        <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>
diff --git a/pom.xml b/pom.xml
index cdcc3f914d795341d6d8642ead39a675b63a0bcd..56ac587cefc6e16f5d9d50f19f021d13b4992aee 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,7 @@
   <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>
index ed798ac1483093ee39de534f7f450850702050e2..36b360dffc381aeb80cf13099751a2d8575f754c 100644 (file)
@@ -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/
index 313a761846bb276a9ae9cd7295b3c7149baeea76..9d6d77569aa02413176037e34bada360a5b74a2b 100644 (file)
@@ -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.
index d9db92baa53bc64d9b41dfba2e2520740745b889..e2163ad13d3b333564adf9c2a3acea7da4c8c9dd 100644 (file)
@@ -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(')');
index e912cf06e3ea7f83b0fa20248cbcb81d629132cd..dfd23bb0a13e688bd8dc79f400777de1f249153d 100644 (file)
@@ -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;