Skip to content

native-image --graalvm-opts is wrong #23

Description

@marad

I tried to pass the --enable-url-protocols=http but it failed miserably.

After some digging in the code it turns out that the implementation takes the opts and prepends them with the "-" character.

So I had to "hack" it by passing --graalvm-opt "-enable-url-protocols=http" so it works correctly. (note the absence of one "-" at the beginning of the option)

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