Java bytecode engineering toolkit | Java bytecode engineering toolkit | ||||
### [Javassist version 3](http://www.javassist.org) | ### [Javassist version 3](http://www.javassist.org) | ||||
Copyright (C) 1999-2017 by Shigeru Chiba, All rights reserved. | |||||
Copyright (C) 1999-2018 by Shigeru Chiba, All rights reserved. | |||||
Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation | Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation | ||||
simple. It is a class library for editing bytecodes in Java; it enables Java | simple. It is a class library for editing bytecodes in Java; it enables Java |
<h1>Javassist version 3</h1> | <h1>Javassist version 3</h1> | ||||
<h3>Copyright (C) 1999-2017 by Shigeru Chiba, All rights reserved.</h3> | |||||
<h3>Copyright (C) 1999-2018 by Shigeru Chiba, All rights reserved.</h3> | |||||
<p><br></p> | <p><br></p> | ||||
<h2>Changes</h2> | <h2>Changes</h2> | ||||
<p>-version 3.23 on MMM DD, YYYY | |||||
<p>-version 3.23 on June 21, 2018 | |||||
<ul> | <ul> | ||||
<li>Fix leaking file handlers in ClassPool and removed ClassPath.close(). Github issue #165. | <li>Fix leaking file handlers in ClassPool and removed ClassPath.close(). Github issue #165. |
<project name="javassist" default="jar" basedir="."> | <project name="javassist" default="jar" basedir="."> | ||||
<property name="dist-version" value="javassist-3.22.0-GA"/> | |||||
<property name="dist-version" value="javassist-3.23.0-GA"/> | |||||
<property environment="env"/> | <property environment="env"/> | ||||
<property name="target.jar" value="javassist.jar"/> | <property name="target.jar" value="javassist.jar"/> |
Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation | Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation | ||||
simple. It is a class library for editing bytecodes in Java. | simple. It is a class library for editing bytecodes in Java. | ||||
</description> | </description> | ||||
<version>3.22.0-GA</version> | |||||
<version>3.23.0-GA</version> | |||||
<name>Javassist</name> | <name>Javassist</name> | ||||
<url>http://www.javassist.org/</url> | <url>http://www.javassist.org/</url> | ||||
Specification-Title: Javassist | Specification-Title: Javassist | ||||
Specification-Vendor: Shigeru Chiba, www.javassist.org | Specification-Vendor: Shigeru Chiba, www.javassist.org | ||||
Specification-Version: 3.22.0-GA | |||||
Specification-Version: 3.23.0-GA | |||||
Main-Class: javassist.CtClass | Main-Class: javassist.CtClass |
/** | /** | ||||
* The version number of this release. | * The version number of this release. | ||||
*/ | */ | ||||
public static final String version = "3.22.0-GA"; | |||||
public static final String version = "3.23.0-GA"; | |||||
/** | /** | ||||
* Prints the version number and the copyright notice. | * Prints the version number and the copyright notice. | ||||
*/ | */ | ||||
public static void main(String[] args) { | public static void main(String[] args) { | ||||
System.out.println("Javassist version " + CtClass.version); | System.out.println("Javassist version " + CtClass.version); | ||||
System.out.println("Copyright (C) 1999-2017 Shigeru Chiba." | |||||
System.out.println("Copyright (C) 1999-2018 Shigeru Chiba." | |||||
+ " All Rights Reserved."); | + " All Rights Reserved."); | ||||
} | } | ||||
* | * | ||||
* @param loader the class loader passed to <code>toClass()</code> or | * @param loader the class loader passed to <code>toClass()</code> or | ||||
* the default one obtained by <code>getClassLoader()</code>. | * the default one obtained by <code>getClassLoader()</code>. | ||||
* @param name the package name. | |||||
* @see #getClassLoader() | |||||
* @see #toClass(CtClass) | |||||
* @see CtClass#toClass() */ | |||||
* @param className the package name. | |||||
* @see Class#getClassLoader() | |||||
* @see CtClass#toClass() | |||||
*/ | |||||
public static void definePackage(String className, ClassLoader loader) | public static void definePackage(String className, ClassLoader loader) | ||||
throws CannotCompileException | throws CannotCompileException | ||||
{ | { |