[vmkit-commits] [PATCH] Impl JVM_NativePath

Will Dietz wdietz2 at illinois.edu
Thu Nov 3 07:32:06 PDT 2011


Inlined below.

Mostly to get things going along, since it's clearly not a real implementation.

Seems to work just fine though.

~Will

>From af0de8acd69fccb6becfcc25be8530ee872de9bb Mon Sep 17 00:00:00 2001
From: Will Dietz <w at wdtz.org>
Date: Wed, 2 Nov 2011 22:31:50 -0500
Subject: [PATCH 11/17] Fake impl JVM_NativePath.  Can implement properly
 later if needed.

---
 lib/J3/ClassLib/OpenJDK/OpenJDK.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lib/J3/ClassLib/OpenJDK/OpenJDK.inc
b/lib/J3/ClassLib/OpenJDK/OpenJDK.inc
index fd7f450..bb11f0d 100644
--- a/lib/J3/ClassLib/OpenJDK/OpenJDK.inc
+++ b/lib/J3/ClassLib/OpenJDK/OpenJDK.inc
@@ -2178,7 +2178,8 @@ JVM_GetLastErrorString(char *buf, int len) {
  */
 JNIEXPORT char * JNICALL
 JVM_NativePath(char * path) {
-  NYI();
+  // TODO: Implement me?
+  return path;
 }

 /*
-- 
1.7.5.1



More information about the vmkit-commits mailing list