Skip to content

Workaround for tzmappings error message #9

@matthiaskraaz

Description

@matthiaskraaz

Hi, I found your project while googling for a fix for "Illegal format in tzmappings file: illegal non-newline character found at line 1, offset 46.". Now I have found the cause myself: the loading of the tzmappings file depends on the C library global default file open mode. I presume that you are using a native library that changes that global. Workaround: invoke java.text.DateFormat.getDateInstance(); (or anything else that triggers the JDK to load the tzmappings file under Windows) BEFORE loading the native library.

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