Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
public abstract class NativePlatformFactory {

public static NativePlatform createPlatform(RubyContext context) {
if (context.getOptions().PLATFORM_USE_JAVA) {
if (context.getOptions().PLATFORM_USE_JAVA || (Platform.getPlatform().getOS() == Platform.OS_TYPE.WINDOWS)) {
return new JavaPlatform(context);
}

0 comments on commit dd81c00

Please sign in to comment.