This is an automated email from the ASF dual-hosted git repository.
mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push:
new f14fa978e4 Upgrade to Opcodes.ASM9
f14fa978e4 is described below
commit f14fa978e42dd48fcf85f62a136ce15be9aa830a
Author: Mick Semb Wever <[email protected]>
AuthorDate: Fri Feb 10 11:28:28 2023 +0100
Upgrade to Opcodes.ASM9
patch by Mick Semb Wever; reviewed by Ekaterina Dimitrova for
CASSANDRA-17971
---
CHANGES.txt | 1 +
build.xml | 2 +-
src/java/org/apache/cassandra/utils/FBUtilities.java | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/CHANGES.txt b/CHANGES.txt
index dd8a775565..38e3f9aac3 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
5.0
+ * Upgrade to Opcodes.ASM9 (CASSANDRA-17971)
* Add MaxSSTableSize and MaxSSTableDuration metrics and propagate them
together with local read/write ratio to tablestats (CASSANDRA-18283)
* Add more logging around CompactionManager operations (CASSANDRA-18268)
* Reduce memory allocations of calls to ByteBufer.duplicate() made in
org.apache.cassandra.transport.CBUtil#writeValue (CASSANDRA-18212)
diff --git a/build.xml b/build.xml
index c347d90428..197f720472 100644
--- a/build.xml
+++ b/build.xml
@@ -145,7 +145,7 @@
<!-- When updating ASM, please, do consider whether you might need to
update also FBUtilities#ASM_BYTECODE_VERSION
and the simulator InterceptClasses#BYTECODE_VERSION, in particular if we
are looking to provide Cassandra support
for newer JDKs (CASSANDRA-17873). -->
- <property name="asm.version" value="9.3"/>
+ <property name="asm.version" value="9.4"/>
<property name="allocation-instrumenter.version" value="3.1.0"/>
<condition property="is.source.artifact">
diff --git a/src/java/org/apache/cassandra/utils/FBUtilities.java
b/src/java/org/apache/cassandra/utils/FBUtilities.java
index 1eb1de192a..c760659405 100644
--- a/src/java/org/apache/cassandra/utils/FBUtilities.java
+++ b/src/java/org/apache/cassandra/utils/FBUtilities.java
@@ -151,7 +151,7 @@ public class FBUtilities
public static final int MAX_UNSIGNED_SHORT = 0xFFFF;
- public static final int ASM_BYTECODE_VERSION = Opcodes.ASM7;
+ public static final int ASM_BYTECODE_VERSION = Opcodes.ASM9;
public static MessageDigest newMessageDigest(String algorithm)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]