Skip to content

Not consistent decimal separator in JNI calls can give strange results #8

@WojciechMazur

Description

@WojciechMazur

In case if system locale is using , (comma) for decimal separator JVM would not be able to correctly parse measurements received from JNI call with CSV string. It can be fixed by setting en-us locale at beginning of energy_stat_csv_string and restoring it to the previous one before returning from a call, but maybe there is a better way to fix that issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions