Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
4.0.8, 4.1-rc1, 4.1, 5.0-alpha1, 5.0
-
None
-
Correctness
-
Normal
-
Normal
-
User Report
-
All
-
None
-
Description
In CASSANDRA-15108 ASM was updated and UDFByteCodeVerifier was updated to provide Opcodes.ASM7 but only in 1 of 3 places.
We need to update that for 4.0, 4.1 and trunk where we support JDK11.
Also, I think it will be good to add one place where we update that when we add new JDK support as now I see we will have to update it at 4 places at least already (also for the simulator where currently it is Opcodes.ASM7 there, correctly added). Also, we can add a note in build.xml for people updating ASM. I think many people practice updating Opcodes.ASM* with the update of ASM version but in our case with update of JDK, from what I see. We will need to switch to ASM9 when we add the JDK 17 support. One stop place for that and adding a note for maintainers sounds like the right way to move forward at least on trunk.
But for 4.0 and 4.1 we need at least to switch to ASM7 everywhere as far as I can tell.
Attachments
Issue Links
- is caused by
-
CASSANDRA-15108 Support building Cassandra with JDK 11
- Resolved
- is related to
-
CASSANDRA-17971 Opcodes.ASM7 to be updated when JDK17 support is added for Cassandra
- Resolved
- Testing discovered
-
CASSANDRA-17975 SSTableIdGenerationTest.testRestartWithUUIDDisabled fails on trunk after CASSANDRA-17948
- Resolved
-
CASSANDRA-17980 Fix flaky Python DTest materialized_views_test.TestMaterializedViews.test_resume_stopped_build
- Resolved