Browse Source

adds javadoc comments for PR #250

tags/rel_3_25_0_ga
chibash 5 years ago
parent
commit
e3f70e8d1d
6 changed files with 22 additions and 6 deletions
  1. 3
    2
      Readme.html
  2. 1
    1
      build.xml
  3. BIN
      javassist.jar
  4. 1
    1
      pom.xml
  5. 2
    2
      src/main/javassist/CtClass.java
  6. 15
    0
      src/main/javassist/runtime/Desc.java

+ 3
- 2
Readme.html View File



<h1>Javassist version 3</h1> <h1>Javassist version 3</h1>


<h3>Copyright (C) 1999-2018 by Shigeru Chiba, All rights reserved.</h3>
<h3>Copyright (C) 1999-2019 by Shigeru Chiba, All rights reserved.</h3>


<p><br></p> <p><br></p>




<p>-version 3.25 <p>-version 3.25
<ul> <ul>
<li>GitHub Issue #72 (PR #231), #241, #242 (PR #243), PR #244.
<li>GitHub Issue #72 (PR #231), #241, #242 (PR #243), PR #244,
#246 (PR #247), PR #250.
</ul> </ul>


<p>-version 3.24.1 on December 9, 2018 <p>-version 3.24.1 on December 9, 2018

+ 1
- 1
build.xml View File



<project name="javassist" default="jar" basedir="."> <project name="javassist" default="jar" basedir=".">


<property name="dist-version" value="javassist-3.24.1-GA"/>
<property name="dist-version" value="javassist-3.25-GA"/>


<property environment="env"/> <property environment="env"/>
<property name="target.jar" value="javassist.jar"/> <property name="target.jar" value="javassist.jar"/>

BIN
javassist.jar View File


+ 1
- 1
pom.xml View File

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.24.1-GA</version>
<version>3.25-GA</version>
<name>Javassist</name> <name>Javassist</name>
<url>http://www.javassist.org/</url> <url>http://www.javassist.org/</url>



+ 2
- 2
src/main/javassist/CtClass.java View File

/** /**
* The version number of this release. * The version number of this release.
*/ */
public static final String version = "3.24.1-GA";
public static final String version = "3.25-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-2018 Shigeru Chiba."
System.out.println("Copyright (C) 1999-2019 Shigeru Chiba."
+ " All Rights Reserved."); + " All Rights Reserved.");
} }



+ 15
- 0
src/main/javassist/runtime/Desc.java View File

} }
}; };


/**
* Changes so that the current thread will use the context class loader
* when a class is loaded.
* This method changes the behavior per thread unlike {@link useContextClassLoader}.
*
* @since 3.25
*/
public static void setUseContextClassLoaderLocally() { public static void setUseContextClassLoaderLocally() {
USE_CONTEXT_CLASS_LOADER_LOCALLY.set(true); USE_CONTEXT_CLASS_LOADER_LOCALLY.set(true);
} }


/**
* Changes so that the current thread will not use the context class loader
* when a class is loaded.
* Call this method before releasing the current thread for reuse.
* It invokes <code>ThreadLocal.remvoe()</code>.
*
* @since 3.25
*/
public static void resetUseContextClassLoaderLocally() { public static void resetUseContextClassLoaderLocally() {
USE_CONTEXT_CLASS_LOADER_LOCALLY.remove(); USE_CONTEXT_CLASS_LOADER_LOCALLY.remove();
} }

Loading…
Cancel
Save