Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load IKVM.Properties from RuntimeHost Configuration #597

Merged

Conversation

AliveDevil
Copy link
Collaborator

Allows for specifying system properties like java.net.preferIPv4Stack before JVM is initialized when consuming IKVM as a runtime library.

Usage:

<ItemGroup>
    <RuntimeHostConfigurationOption Include="IKVM.Properties" Value="java.net.preferIPv4Stack" />
    <RuntimeHostConfigurationOption Include="java.net.preferIPv4Stack" Value="False" />
</ItemGroup>

IKVM.Properties is semicolon separated.

@AliveDevil AliveDevil self-assigned this Sep 19, 2024
@wasabii wasabii merged commit 69bd301 into ikvmnet:develop Sep 28, 2024
85 checks passed
@wasabii
Copy link
Contributor

wasabii commented Sep 28, 2024

I might change this around to just have it all inside one comma separated option before release.

IKVM.Properties: java.net.preferIPv4Stack=False;prop=value;etc=foo

Worried about potential for overlap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants