aboutsummaryrefslogtreecommitdiffstats
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
parent3112090a508b8a42c08cd68308d1018596a70b1e (diff)
downloadjavassist-b9a24bf129ef8b3295f99fdd43131301c1da8132.tar.gz
javassist-b9a24bf129ef8b3295f99fdd43131301c1da8132.zip
updates javassist.Loader to exclude jdk.internal.
-rw-r--r--Readme.html2
-rw-r--r--build.xml13
-rw-r--r--javassist.jarbin781113 -> 772212 bytes
-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
6 files changed, 18 insertions, 2 deletions
diff --git a/Readme.html b/Readme.html
index 58da8128..de60b469 100644
--- a/Readme.html
+++ b/Readme.html
@@ -291,6 +291,8 @@ see javassist.Dump.
<h2>Changes</h2>
+<p>-version 3.29
+
<p>-version 3.28 on May 8, 2021
<ul>
<li>GitHub Issue #305, #328, #339, #350, #357, and PR #363.
diff --git a/build.xml b/build.xml
index 8e77bfc3..9c8095a4 100644
--- a/build.xml
+++ b/build.xml
@@ -106,6 +106,19 @@
tofile="${test.lib.dir}/emptyorig.jar"
preservelastmodified="true" />
<junit fork="true" printsummary="true" dir="${test.run.dir}">
+ <classpath refid="test.classpath"/>
+ <formatter type="xml" extension=".xml"/>
+ <test name="javassist.JvstTest" outfile="TestLog" />
+ </junit>
+ <move file="${test.lib.dir}/emptyorig.jar"
+ tofile="${test.lib.dir}/empty.jar" />
+ </target>
+
+ <target name="runtest8" depends="jar,test-compile">
+ <copy file="${test.lib.dir}/empty.jar"
+ tofile="${test.lib.dir}/emptyorig.jar"
+ preservelastmodified="true" />
+ <junit fork="true" printsummary="true" dir="${test.run.dir}">
<jvmarg value="-XX:-FailOverToOldVerifier"/>
<classpath refid="test.classpath"/>
<formatter type="xml" extension=".xml"/>
diff --git a/javassist.jar b/javassist.jar
index 26c40469..24d74a06 100644
--- a/javassist.jar
+++ b/javassist.jar
Binary files differ
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.")