Browse Source

Merge pull request #289 in CORE/base-third from ~BJORN/base-third:final/10.0 to final/10.0

* commit '3465415e0a235522d325dff8900ec44d34cd40a3':
  无JIRA任务 打包
final/10.0.3
Kara 5 years ago
parent
commit
c93cdc6588
  1. 4
      fine-j2v8/src/com/eclipsesource/v8/PlatformDetector.java

4
fine-j2v8/src/com/eclipsesource/v8/PlatformDetector.java

@ -127,7 +127,7 @@ public class PlatformDetector {
//如果if条件全部不符合,就会陷入死循环,代码存在风险 //如果if条件全部不符合,就会陷入死循环,代码存在风险
//throw new UnsatisfiedLinkError("Unsupported vendor: " + getName()); //throw new UnsatisfiedLinkError("Unsupported vendor: " + getName());
return StringUtils.EMPTY; return null;
} }
private static String getLinuxOsReleaseId() { private static String getLinuxOsReleaseId() {
@ -148,7 +148,7 @@ public class PlatformDetector {
//linux系统下如果缺失/etc/os-release,/usr/lib/os-release,/etc/redhat-release三个文件,就会和getName方法就会一直互相调用 //linux系统下如果缺失/etc/os-release,/usr/lib/os-release,/etc/redhat-release三个文件,就会和getName方法就会一直互相调用
//throw new UnsatisfiedLinkError("Unsupported linux vendor: " + getName()); //throw new UnsatisfiedLinkError("Unsupported linux vendor: " + getName());
return StringUtils.EMPTY; return null;
} }
private static String parseLinuxOsReleaseFile(final File file) { private static String parseLinuxOsReleaseFile(final File file) {

Loading…
Cancel
Save