Skip to content

Commit a53dbd4

Browse files
committed
FIX
1 parent 009a0ba commit a53dbd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Samples/SwiftKitSampleApp/src/main/java/com/example/swift/HelloJava2Swift.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ static void examples() {
8383
}
8484

8585
// Example of using 'Data'.
86-
try (var arena = SwiftArena.ofConfined()) {
86+
try (var arena = AllocatingSwiftArena.ofConfined()) {
8787
var origBytes = arena.allocateFrom("foobar");
8888
var origDat = Data.init(origBytes, origBytes.byteSize(), arena);
89-
SwiftKit.trace("origDat.count = " + origDat.getCount());
89+
SwiftRuntime.trace("origDat.count = " + origDat.getCount());
9090

9191
// var origBytes = arena.allocate(ValueLayout.JAVA_INT, arry.length);
9292
// origBytes.copyFrom(MemorySegment.ofArray(arry));

0 commit comments

Comments
 (0)