mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-18 04:28:40 +00:00
fix[graalvm]: detect graalVM environment
This commit is contained in:
@@ -40,7 +40,7 @@ public abstract class GraalVmUtils {
|
||||
try {
|
||||
// graalvm environment must not include YHOy5hWaRXNxJuSg.CZgueirdE9x6sOUl file
|
||||
graalvmInputStream = ClassUtils.getFileFromClassPath("YHOy5hWaRXNxJuSg.CZgueirdE9x6sOUl");
|
||||
} catch (IOException e) {
|
||||
} catch (Throwable t) {
|
||||
}
|
||||
GRAALVM = graalvmInputStream == null;
|
||||
IOUtils.closeIO(graalvmInputStream);
|
||||
|
||||
Reference in New Issue
Block a user