Browse Source

updates javassist.Loader to exclude jdk.internal.

tags/rel_3_29_0_ga
chibash 2 years ago
parent
commit
b9a24bf129
6 changed files with 18 additions and 2 deletions
  1. 2
    0
      Readme.html
  2. 13
    0
      build.xml
  3. BIN
      javassist.jar
  4. 1
    1
      src/main/META-INF/MANIFEST.MF
  5. 1
    1
      src/main/javassist/CtClass.java
  6. 1
    0
      src/main/javassist/Loader.java

+ 2
- 0
Readme.html View 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.

+ 13
- 0
build.xml View File

@@ -102,6 +102,19 @@
</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" />

BIN
javassist.jar View File


+ 1
- 1
src/main/META-INF/MANIFEST.MF View 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

+ 1
- 1
src/main/javassist/CtClass.java View 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.

+ 1
- 0
src/main/javassist/Loader.java View 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.")

Loading…
Cancel
Save