From: chibash Date: Sun, 17 Mar 2019 13:57:29 +0000 (+0900) Subject: adds javadoc comments for PR #250 X-Git-Tag: rel_3_25_0_ga~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e3f70e8d1d8cc1838886191ae398b53c3bbe7963;p=javassist.git adds javadoc comments for PR #250 --- diff --git a/Readme.html b/Readme.html index 68f49e1e..0c4daf46 100644 --- a/Readme.html +++ b/Readme.html @@ -7,7 +7,7 @@

Javassist version 3

-

Copyright (C) 1999-2018 by Shigeru Chiba, All rights reserved.

+

Copyright (C) 1999-2019 by Shigeru Chiba, All rights reserved.


@@ -283,7 +283,8 @@ see javassist.Dump.

-version 3.25

-version 3.24.1 on December 9, 2018 diff --git a/build.xml b/build.xml index c0178eea..b6031fcc 100644 --- a/build.xml +++ b/build.xml @@ -6,7 +6,7 @@ - + diff --git a/javassist.jar b/javassist.jar index f9e84222..5a670de7 100644 Binary files a/javassist.jar and b/javassist.jar differ diff --git a/pom.xml b/pom.xml index eaef95f1..9dfcd996 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. - 3.24.1-GA + 3.25-GA Javassist http://www.javassist.org/ diff --git a/src/main/javassist/CtClass.java b/src/main/javassist/CtClass.java index 5c9ca722..5df3a69e 100644 --- a/src/main/javassist/CtClass.java +++ b/src/main/javassist/CtClass.java @@ -69,7 +69,7 @@ public abstract class CtClass { /** * 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. @@ -80,7 +80,7 @@ public abstract class CtClass { */ public static void main(String[] args) { 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."); } diff --git a/src/main/javassist/runtime/Desc.java b/src/main/javassist/runtime/Desc.java index 9fbe8f22..8299b5cd 100644 --- a/src/main/javassist/runtime/Desc.java +++ b/src/main/javassist/runtime/Desc.java @@ -41,10 +41,25 @@ public class Desc { } }; + /** + * 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() { 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 ThreadLocal.remvoe(). + * + * @since 3.25 + */ public static void resetUseContextClassLoaderLocally() { USE_CONTEXT_CLASS_LOADER_LOCALLY.remove(); }