Skip to content

Commit

Permalink
Fix some build errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Jun 2, 2024
1 parent e6314ac commit 7aaeba7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/IKVM.Runtime/Annotation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ Jeroen Frijters
using System.Diagnostics;

using IKVM.Attributes;
using System.Linq;


#if IMPORTER || EXPORTER
using IKVM.Reflection;
Expand All @@ -36,7 +34,6 @@ Jeroen Frijters

using System.Collections;
using System.Collections.Generic;
using System.Linq;

#else
using System.Reflection;
Expand Down
4 changes: 4 additions & 0 deletions src/IKVM.Runtime/JVM.Properties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ static Dictionary<string, string> GetInitProperties()
/// <param name="p"></param>
static void InitSystemProperties(Dictionary<string, string> p)
{
#if FIRST_PASS || IMPORTER || EXPORTER
throw new NotImplementedException();
#else
p["openjdk.version"] = Constants.openjdk_version;
p["java.vm.name"] = Constants.java_vm_name;
p["java.vm.version"] = Constants.java_vm_version;
Expand Down Expand Up @@ -247,6 +250,7 @@ static void InitSystemProperties(Dictionary<string, string> p)
if (user != null)
foreach (var kvp in user)
p[kvp.Key] = kvp.Value;
#endif
}

/// <summary>
Expand Down

0 comments on commit 7aaeba7

Please sign in to comment.