Skip to content

Commit a2e2df5

Browse files
committed
Fix jnimarshalmethodgen
JdkInfo.props rename strikes again!
1 parent d07d9f2 commit a2e2df5

File tree

1 file changed

+2
-2
lines changed
  • tools/jnimarshalmethod-gen

1 file changed

+2
-2
lines changed

tools/jnimarshalmethod-gen/App.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ static string ReadJavaSdkDirectoryFromJdkInfoProps ()
320320
if (buildName.Contains ('-')) {
321321
buildName = buildName.Substring (0, buildName.IndexOf ('-'));
322322
}
323-
var jdkPropFile = Path.Combine (binDir, buildName, "JdkInfo.props");
323+
var jdkPropFile = Path.Combine (binDir, buildName, "JdkInfo-11.props");
324324
if (!File.Exists (jdkPropFile)) {
325325
return null;
326326
}
@@ -332,7 +332,7 @@ static string ReadJavaSdkDirectoryFromJdkInfoProps ()
332332
.Elements (msbuild + "Choose")
333333
.Elements (msbuild + "When")
334334
.Elements (msbuild + "PropertyGroup")
335-
.Elements (msbuild + "JdkJvmPath")
335+
.Elements (msbuild + "JdkJvm11Path")
336336
.FirstOrDefault ();
337337
if (jdkJvmPath == null) {
338338
return null;

0 commit comments

Comments
 (0)