• R/O
  • SSH
  • HTTPS

exewrap: Commit


Commit MetaInfo

Revision37 (tree)
Time2017-10-09 17:28:34
Authorhirukawa_ryo

Log Message

* exewrap v1.1.8 ターゲットバージョン minor と build の上位ビットが欠落するバグを修正しました。

Change Summary

Incremental Difference

--- exewrap/trunk/exewrap/src/jvm.c (revision 36)
+++ exewrap/trunk/exewrap/src/jvm.c (revision 37)
@@ -271,7 +271,7 @@
271271 }
272272 }
273273 END_PARSE:
274- javaRuntimeVersion = ((major << 25) & 0xFE000000) | ((minor << 18) & 0x00FC0000) | ((build << 11) & 0x0000F800) | (revision & 0x000007FF);
274+ javaRuntimeVersion = ((major << 25) & 0xFE000000) | ((minor << 18) & 0x01FC0000) | ((build << 11) & 0x0003F800) | (revision & 0x000007FF);
275275 }
276276 return javaRuntimeVersion;
277277 }
--- exewrap/trunk/exewrap/src/exewrap.c (revision 36)
+++ exewrap/trunk/exewrap/src/exewrap.c (revision 37)
@@ -85,7 +85,7 @@
8585
8686 is_trace_version = strstr(exe_file, "trace") != NULL;
8787
88- printf("exewrap 1.1.7 for %s (%d-bit) %s\r\n"
88+ printf("exewrap 1.1.8 for %s (%d-bit) %s\r\n"
8989 "Native executable java application wrapper.\r\n"
9090 "Copyright (C) 2005-2017 HIRUKAWA Ryo. All rights reserved.\r\n"
9191 "\r\n"
@@ -740,7 +740,7 @@
740740 }
741741 }
742742 }
743- return major << 25 & 0xFE000000 | minor << 18 & 0x00FC0000 | build << 11 & 0x0000F800 | revision & 0x000007FF;
743+ return major << 25 & 0xFE000000 | minor << 18 & 0x01FC0000 | build << 11 & 0x0003F800 | revision & 0x000007FF;
744744 }
745745 return 0x00000000;
746746 }
Show on old repository browser