Skip to content

Commit

Permalink
*Are* we in a 32-bit process?
Browse files Browse the repository at this point in the history
In c14ebb6 + 6babd68, 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!
  • Loading branch information
jonpryor committed Mar 12, 2021
1 parent c14ebb6 commit 08348d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Java.Interop-Tests/Java.Interop/JavaVMFixture.cs
Expand Up @@ -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<string, Type> () {
Expand Down

0 comments on commit 08348d3

Please sign in to comment.