[ 
https://issues.apache.org/jira/browse/CASSANDRA-16578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390529#comment-17390529
 ] 

Benjamin Lerer edited comment on CASSANDRA-16578 at 7/30/21, 12:05 PM:
-----------------------------------------------------------------------

Committed into 3.0 at e399dea95916646acde6770ced18fedcc5359913 and merged into 
3.11, 4.0 and trunk


was (Author: blerer):
Committed into 3.0 and merged into 3.11, 4.0 and trunk

> NativeLibrary#getProcessID() does not handle `UnsatisfiedLinkError`
> -------------------------------------------------------------------
>
>                 Key: CASSANDRA-16578
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16578
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Local/Other
>            Reporter: Doug Rohrer
>            Assignee: Doug Rohrer
>            Priority: Normal
>             Fix For: 4.0.1, 3.0.26, 3.11.12
>
>         Attachments: native-library-fix.patch
>
>
> NativeLibrary#getProcessID() does not handle `UnsatisfiedLinkError` (derived 
> from Error, not Exception) as the other native methods do. Therefore, it can 
> never return -1 when it fails for this reason, and can break callers that 
> would otherwise be able to handle the situation gracefully. Most other 
> methods in the class do this, but this one is missing the handling of this 
> error.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to