Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Why native crash protection is disabled by default in BridJ? #394

@sarxos

Description

@sarxos

Hi,

I was looking for the variables names to setup debug logs to be printed by BridJ, and accidentally found this setting:

Protected("bridj.protected", "BRIDJ_PROTECTED", false,
    "Protect all native calls (including memory accesses) against native crashes."
),

Is that mean that BridJ can prevents JVM crashes when root cause lies in native call? If so, what is the impact when I would like to enable it. I'm asking because it seems pretty strange for me that such useful feature is disabled by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions