You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Doug Rohrer (Jira)" <ji...@apache.org> on 2021/04/08 18:31:00 UTC

[jira] [Assigned] (CASSANDRA-16578) NativeLibrary#getProcessID() does not handle `UnsatisfiedLinkError`

     [ https://issues.apache.org/jira/browse/CASSANDRA-16578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Rohrer reassigned CASSANDRA-16578:
---------------------------------------

    Assignee: Doug Rohrer

> NativeLibrary#getProcessID() does not handle `UnsatisfiedLinkError`
> -------------------------------------------------------------------
>
>                 Key: CASSANDRA-16578
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16578
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Doug Rohrer
>            Assignee: Doug Rohrer
>            Priority: Normal
>
> 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org