aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2021-05-14 02:08:08 +0900
committerchibash <chiba@javassist.org>2021-05-14 02:08:08 +0900
commitb9a24bf129ef8b3295f99fdd43131301c1da8132 (patch)
treeec75e433cab637c75bb89d66497c8c58ba8fde1a /src/main
parent3112090a508b8a42c08cd68308d1018596a70b1e (diff)
downloadjavassist-b9a24bf129ef8b3295f99fdd43131301c1da8132.tar.gz
javassist-b9a24bf129ef8b3295f99fdd43131301c1da8132.zip
updates javassist.Loader to exclude jdk.internal.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/META-INF/MANIFEST.MF2
-rw-r--r--src/main/javassist/CtClass.java2
-rw-r--r--src/main/javassist/Loader.java1
3 files changed, 3 insertions, 2 deletions
diff --git a/src/main/META-INF/MANIFEST.MF b/src/main/META-INF/MANIFEST.MF
index 4e52ee31..b53b6e37 100644
--- a/src/main/META-INF/MANIFEST.MF
+++ b/src/main/META-INF/MANIFEST.MF
@@ -1,5 +1,5 @@
Specification-Title: Javassist
Specification-Vendor: Shigeru Chiba, www.javassist.org
-Specification-Version: 3.28.0-GA
+Specification-Version: 3.29.0-SNAPSHOT
Main-Class: javassist.CtClass
Automatic-Module-Name: org.javassist
diff --git a/src/main/javassist/CtClass.java b/src/main/javassist/CtClass.java
index f528673d..f227019f 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.28.0-GA";
+ public static final String version = "3.29.0-SNAPSHOT";
/**
* Prints the version number and the copyright notice.
diff --git a/src/main/javassist/Loader.java b/src/main/javassist/Loader.java
index 37f83d68..27447d38 100644
--- a/src/main/javassist/Loader.java
+++ b/src/main/javassist/Loader.java
@@ -444,6 +444,7 @@ public class Loader extends ClassLoader {
if (doDelegation)
if (name.startsWith("java.")
|| name.startsWith("javax.")
+ || name.startsWith("jdk.internal.")
|| name.startsWith("sun.")
|| name.startsWith("com.sun.")
|| name.startsWith("org.w3c.")