Skip to content

Commit

Permalink
final updates for 3.20.0-GA release
Browse files Browse the repository at this point in the history
  • Loading branch information
chibash committed Jun 24, 2015
1 parent d9653a3 commit 4448bda
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ <h2>Hints</h2>

<h2>Changes</h2>

<p>-version 3.20
<p>-version 3.20 on June 25, 2015
<ul>
<li>JIRA JASSIST-241, 242, 246.
</ul>
Expand Down
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down
Binary file modified javassist.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
2 changes: 1 addition & 1 deletion src/main/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -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
5 changes: 2 additions & 3 deletions src/main/javassist/bytecode/ClassFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* <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" });
Expand All @@ -41,14 +41,13 @@
*
* 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
Expand Down
14 changes: 6 additions & 8 deletions src/main/javassist/tools/Callback.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,24 @@
/**
* 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
*/
Expand Down

0 comments on commit 4448bda

Please sign in to comment.