Skip to content

Commit 03fb50a

Browse files
committed
renamed graalpy.vfs.extractOnStartup sys property to org.graalvm.python.vfs.extractOnStartup
1 parent 0c2eca6 commit 03fb50a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/capi/CApiContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ public static Object loadCExtModule(Node location, PythonContext context, Module
11041104
// file does not exist and it is from VirtualFileSystem
11051105
// => we probably failed to extract it due to unconventional libs location
11061106
getLogger(CApiContext.class).severe(String.format("could not load module %s (real path: %s) from virtual file system.\n\n" +
1107-
"!!! Please try to run with java system property graalpy.vfs.extractOnStartup=true !!!\n", spec.path, realPath));
1107+
"!!! Please try to run with java system property org.graalvm.python.vfs.extractOnStartup=true !!!\n", spec.path, realPath));
11081108

11091109
}
11101110

graalpython/org.graalvm.python.embedding/src/org/graalvm/python/embedding/utils/VirtualFileSystemImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ private final class DirEntry extends BaseEntry {
205205
*/
206206
private final Path extractDir;
207207

208-
private boolean extractOnStartup = "true".equals(System.getProperty("graalpy.vfs.extractOnStartup"));
208+
private boolean extractOnStartup = "true".equals(System.getProperty("org.graalvm.python.vfs.extractOnStartup")) || "true".equals(System.getProperty("graalpy.vfs.extractOnStartup"));
209209

210210
/**
211211
* A filter to determine if a path should be extracted (see {@link #shouldExtract(Path)}).

0 commit comments

Comments
 (0)