]> source.dussan.org Git - javassist.git/commitdiff
updates javassist.Loader to exclude jdk.internal.
authorchibash <chiba@javassist.org>
Thu, 13 May 2021 17:08:08 +0000 (02:08 +0900)
committerchibash <chiba@javassist.org>
Thu, 13 May 2021 17:08:08 +0000 (02:08 +0900)
Readme.html
build.xml
javassist.jar
src/main/META-INF/MANIFEST.MF
src/main/javassist/CtClass.java
src/main/javassist/Loader.java

index 58da812807d6d02bf34ca3c26faf9b1412714af4..de60b4692a7b78beed79af311039a06c56aa3a64 100644 (file)
@@ -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.
index 8e77bfc3a5432fb9228730ec84a9fccc826e23a9..9c8095a458793285185d90529b872a81ede676cf 100644 (file)
--- a/build.xml
+++ b/build.xml
   </target>
 
   <target name="runtest" 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}">
+      <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" />
index 26c4046980eeed00b2bcbbf0a5a38fec9d5202d6..24d74a067ec29141bb2957fc1fb432652bcbbe00 100644 (file)
Binary files a/javassist.jar and b/javassist.jar differ
index 4e52ee31b8d4be2e41a05d9547bbfc4ff5ee00a7..b53b6e3710c93d65f29255f8fb6473798cb25779 100644 (file)
@@ -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
index f528673d248040a437d977a65df8fcdbe06b2d6c..f227019f2e41bd07c71ede4a692146224b992b21 100644 (file)
@@ -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.
index 37f83d686f3665cc795067408f95e668aa95ea5a..27447d383d0c0a86c0caacdbda3e77e4a57f65ca 100644 (file)
@@ -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.")