From 08348d370bc3d8db65ecd4888a7ca999b00d2f17 Mon Sep 17 00:00:00 2001 From: Jonathan Pryor Date: Fri, 12 Mar 2021 11:40:38 -0500 Subject: [PATCH] *Are* we in a 32-bit process? In c14ebb60 + 6babd681, we learned that `C:\hostedtoolcache\windows\dotnet\dotnet.exe` *is* in fact a 64-bit process. Thus, a verification check: is the conjecture that we're in a 32-bit process correct? Add some debug writelines to find out! --- tests/Java.Interop-Tests/Java.Interop/JavaVMFixture.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Java.Interop-Tests/Java.Interop/JavaVMFixture.cs b/tests/Java.Interop-Tests/Java.Interop/JavaVMFixture.cs index e1a816c6b..add4f12a0 100644 --- a/tests/Java.Interop-Tests/Java.Interop/JavaVMFixture.cs +++ b/tests/Java.Interop-Tests/Java.Interop/JavaVMFixture.cs @@ -12,6 +12,8 @@ partial class JavaVMFixture { static partial void CreateJavaVM () { + Console.Error.WriteLine($"# jonp: 64-bit process? {Environment.Is64BitProcess}"); + Console.Error.Flush(); var c = new TestJVM ( jars: new[]{ "interop-test.jar" }, typeMappings: new Dictionary () {