You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benedict Elliott Smith (Jira)" <ji...@apache.org> on 2021/09/08 17:54:00 UTC

[jira] [Created] (CASSANDRA-16931) Improvements to @Shared annotation

Benedict Elliott Smith created CASSANDRA-16931:
--------------------------------------------------

             Summary: Improvements to @Shared annotation
                 Key: CASSANDRA-16931
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16931
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Benedict Elliott Smith


To support CEP-10 it is necessary to expand our functionality for selectively sharing classes between class loaders. This ticket introduces functionality to specify various recursive scopes of sharing, so that you may specify that any transitive dependencies of the class or interface may be also shared. That is, you may specify that those types necessary to implement or invoke methods on the class or interface must also be shared, that inner classes and types may also be shared, and that parent classes (and their inner classes and API dependencies) may also be shared.

Additionally, validation has been added to ensure that the specified sharing level encompasses the transitive closure of classes that will need to be loaded to use a class.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org