summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Readme.html2
-rw-r--r--build.xml2
-rw-r--r--javassist.jarbin723382 -> 724481 bytes
-rw-r--r--pom.xml2
-rw-r--r--src/main/META-INF/MANIFEST.MF2
-rw-r--r--src/main/javassist/bytecode/ClassFile.java5
-rw-r--r--src/main/javassist/tools/Callback.java14
7 files changed, 12 insertions, 15 deletions
diff --git a/Readme.html b/Readme.html
index 446edebd..22e5480d 100644
--- a/Readme.html
+++ b/Readme.html
@@ -281,7 +281,7 @@ see javassist.Dump.
<h2>Changes</h2>
-<p>-version 3.20
+<p>-version 3.20 on June 25, 2015
<ul>
<li>JIRA JASSIST-241, 242, 246.
</ul>
diff --git a/build.xml b/build.xml
index 01d3fdf0..b22829e0 100644
--- a/build.xml
+++ b/build.xml
@@ -6,7 +6,7 @@
<project name="javassist" default="jar" basedir=".">
- <property name="dist-version" value="javassist-3.19.0-GA"/>
+ <property name="dist-version" value="javassist-3.20.0-GA"/>
<property environment="env"/>
<property name="target.jar" value="javassist.jar"/>
diff --git a/javassist.jar b/javassist.jar
index 11b3aa97..80e15002 100644
--- a/javassist.jar
+++ b/javassist.jar
Binary files differ
diff --git a/pom.xml b/pom.xml
index 5c441278..164b07c0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation
simple. It is a class library for editing bytecodes in Java.
</description>
- <version>3.19.0-GA</version>
+ <version>3.20.0-GA</version>
<name>Javassist</name>
<url>http://www.javassist.org/</url>
diff --git a/src/main/META-INF/MANIFEST.MF b/src/main/META-INF/MANIFEST.MF
index c7bad8e9..28b3763b 100644
--- a/src/main/META-INF/MANIFEST.MF
+++ b/src/main/META-INF/MANIFEST.MF
@@ -1,4 +1,4 @@
Specification-Title: Javassist
Specification-Vendor: Shigeru Chiba, www.javassist.org
-Specification-Version: 3.19.0-GA
+Specification-Version: 3.20.0-GA
Main-Class: javassist.CtClass
diff --git a/src/main/javassist/bytecode/ClassFile.java b/src/main/javassist/bytecode/ClassFile.java
index f27ff4d8..9e12c08d 100644
--- a/src/main/javassist/bytecode/ClassFile.java
+++ b/src/main/javassist/bytecode/ClassFile.java
@@ -30,7 +30,7 @@ import javassist.CannotCompileException;
* <code>ClassFile</code> represents a Java <code>.class</code> file, which
* consists of a constant pool, methods, fields, and attributes.
*
- * <p>For example,
+ * <p>For example,</p>
* <blockquote><pre>
* ClassFile cf = new ClassFile(false, "test.Foo", null);
* cf.setInterfaces(new String[] { "java.lang.Cloneable" });
@@ -41,14 +41,13 @@ import javassist.CannotCompileException;
*
* cf.write(new DataOutputStream(new FileOutputStream("Foo.class")));
* </pre></blockquote>
- * This code generates a class file <code>Foo.class</code> for the following class:
+ * <p>This code generates a class file <code>Foo.class</code> for the following class:</p>
* <blockquote><pre>
* package test;
* class Foo implements Cloneable {
* public int width;
* }
* </pre></blockquote>
- * </p>
*
* @see FieldInfo
* @see MethodInfo
diff --git a/src/main/javassist/tools/Callback.java b/src/main/javassist/tools/Callback.java
index 26a4200e..56c87414 100644
--- a/src/main/javassist/tools/Callback.java
+++ b/src/main/javassist/tools/Callback.java
@@ -25,26 +25,24 @@ import java.util.UUID;
/**
* Creates bytecode that when executed calls back to the instance's result method.
*
- * Example of how to create and insert a callback:
- * <pre>{@code
+ * <p>Example of how to create and insert a callback:</p>
+ * <pre>
* ctMethod.insertAfter(new Callback("Thread.currentThread()") {
- * @literal@Override
* public void result(Object... objects) {
* Thread thread = (Thread) objects[0];
* // do something with thread...
* }
* }.sourceCode());
- * }</pre>
- * Contains utility methods for inserts callbacks in <code>CtBehaviour</code>, example:
- * <pre>{@code
+ * </pre>
+ * <p>Contains utility methods for inserts callbacks in <code>CtBehaviour</code>, example:</p>
+ * <pre>
* insertAfter(ctBehaviour, new Callback("Thread.currentThread(), dummyString") {
- * @literal@Override
* public void result(Object... objects) {
* Thread thread = (Thread) objects[0];
* // do something with thread...
* }
* });
- * }</pre>
+ * </pre>
*
* @author Marten Hedborg
*/