Skip to content

Commit c9033fd

Browse files
committed
add comment regarding VirtualFileSystem extraction filter
1 parent 09479e5 commit c9033fd

File tree

1 file changed

+2
-0
lines changed
  • graalpython/graalpy-archetype-polyglot-app/src/main/resources/archetype-resources/src/main/java

1 file changed

+2
-0
lines changed

graalpython/graalpy-archetype-polyglot-app/src/main/resources/archetype-resources/src/main/java/GraalPy.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ public static Context getContext() {
6464
VirtualFileSystem vfs = VirtualFileSystem.newBuilder()
6565
.extractFilter(p -> {
6666
String s = p.toString();
67+
// Specify what files in the virtual filesystem need to be accessed outside the Truffle sandbox.
68+
// e.g. if they need to be accessed by the operating system loader.
6769
return s.endsWith(".ttf");
6870
})
6971
.build();

0 commit comments

Comments
 (0)