[
https://issues.apache.org/jira/browse/CASSANDRA-21525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Miklosovic updated CASSANDRA-21525:
------------------------------------------
Fix Version/s: 4.0.21
4.1.12
5.0.9
6.0-alpha2
7.0
(was: 4.0.x)
(was: 4.1.x)
(was: 5.0.x)
(was: 6.0.x)
Since Version: NA
Source Control Link:
https://github.com/apache/cassandra/commit/26d7b166bada897a522de80086cfa580438723f8
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
> Class Loading Improvements
> --------------------------
>
> Key: CASSANDRA-21525
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21525
> Project: Apache Cassandra
> Issue Type: Bug
> Components: Local/Config
> Reporter: Jeremiah Jordan
> Assignee: Jeremiah Jordan
> Priority: Normal
> Fix For: 4.0.21, 4.1.12, 5.0.9, 6.0-alpha2, 7.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Cassandra resolves pluggable extensions by class name from configuration,
> schema, and tooling
> inputs (cassandra.yaml, CQL DDL, JMX, schema/TCM, system properties, CLI
> tools). These names are
> loaded with an initializing `Class.forName(name)` and only checked against
> the expected extension
> type afterward. That ordering initializes the named class — running its
> static initializer and any
> side effects — before confirming it is the right type, so a mistyped or
> invalid class name is
> initialized before it is rejected. The type should be verified before
> initialization, so that only
> validated extension classes are initialized.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]