Skip to content

Commit

Permalink
Upgrade to ASM 9.7.1 to add support for Java 23 and parsing of class …
Browse files Browse the repository at this point in the history
…files of Java 24
  • Loading branch information
uschindler committed Oct 7, 2024
1 parent bef9a18 commit ffceb5d
Show file tree
Hide file tree
Showing 7 changed files with 704 additions and 8 deletions.
2 changes: 2 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
<equals arg1="${-cleaned.specification.version}" arg2="20"/>
<equals arg1="${-cleaned.specification.version}" arg2="21"/>
<equals arg1="${-cleaned.specification.version}" arg2="22"/>
<equals arg1="${-cleaned.specification.version}" arg2="23"/>
</or>
</condition>

Expand Down Expand Up @@ -183,6 +184,7 @@
<equals arg1="${build.java.runtime}" arg2="20"/>
<equals arg1="${build.java.runtime}" arg2="21"/>
<equals arg1="${build.java.runtime}" arg2="22"/>
<equals arg1="${build.java.runtime}" arg2="23"/>
</or>
</condition>

Expand Down
2 changes: 1 addition & 1 deletion ivy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<!ENTITY maven.api.version "3.1.0">
<!ENTITY aether.api.version "0.9.0.M2">
<!ENTITY gradle.version "3.4">
<!ENTITY asm.version "9.7">
<!ENTITY asm.version "9.7.1">
<!ENTITY jarjar.asm.version "5.2">
]>
<ivy-module version="2.0">
Expand Down
6 changes: 3 additions & 3 deletions src/main/docs/bundled-signatures.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ <h1>Bundled Signatures Documentation</h1>
<li><strong><tt>jdk-unsafe-*</tt>:</strong> Signatures
of &quot;unsafe&quot; methods that use default charset, default locale, or default timezone. For server applications it is very
stupid to call those methods, as the results will definitely not what the user wants
(for Java <tt>*</tt> = 1.7, 1.8, 9,..., 22; Ant / Maven / Gradle automatically add the compile Java version).</li>
(for Java <tt>*</tt> = 1.7, 1.8, 9,..., 23; Ant / Maven / Gradle automatically add the compile Java version).</li>

<li><strong><tt>jdk-deprecated-*</tt>:</strong> This disallows all deprecated
methods from the JDK (for Java <tt>*</tt> = 1.7, 1.8, 9,..., 22; Ant / Maven / Gradle automatically add the compile Java version).</li>
methods from the JDK (for Java <tt>*</tt> = 1.7, 1.8, 9,..., 23; Ant / Maven / Gradle automatically add the compile Java version).</li>

<li><strong><tt>jdk-internal-*</tt>:</strong> Lists all internal packages of the JDK as of <code>Security.getProperty(&quot;package.access&quot;)</code>.
Calling those methods will always trigger security manager and is completely forbidden from Java 9 on
(for Java <tt>*</tt> = 1.7, 1.8, 9,..., 22; Ant / Maven / Gradle automatically add the compile Java version, <em>since forbiddenapis v2.1</em>).</li>
(for Java <tt>*</tt> = 1.7, 1.8, 9,..., 23; Ant / Maven / Gradle automatically add the compile Java version, <em>since forbiddenapis v2.1</em>).</li>

<li><strong><tt>jdk-non-portable</tt>:</strong> Signatures of all non-portable (like <code>com.sun.management.HotSpotDiagnosticMXBean</code>)
or internal runtime APIs (like <code>sun.misc.Unsafe</code>). This is a superset of <tt>jdk-internal</tt>.<br>
Expand Down
Loading

0 comments on commit ffceb5d

Please sign in to comment.