File tree Expand file tree Collapse file tree
SwiftAndJavaJarSampleLib/src/test/java/com/example/swift
SwiftKitSampleApp/src/test/java/org/swift/swiftkit
SwiftKit/src/main/java/org/swift/swiftkit Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,8 +45,7 @@ void test_MySwiftClass_voidMethod() {
4545 MySwiftClass o = new MySwiftClass (12 , 42 );
4646 o .voidMethod ();
4747 } catch (Throwable throwable ) {
48- throw throwable ;
49- // checkPaths(throwable);
48+ checkPaths (throwable );
5049 }
5150 }
5251
Original file line number Diff line number Diff line change 99// See CONTRIBUTORS.txt for the list of Swift.org project authors
1010//
1111// SPDX-License-Identifier: Apache-2.0
12-
13-
1412//
1513//===----------------------------------------------------------------------===//
1614
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ public struct ImportedNominalType: ImportedDecl {
6969 }
7070}
7171
72+ // TODO: replace this with `SwiftNominalTypeDeclaration.Kind`
7273public enum NominalTypeKind {
7374 case `actor`
7475 case `class`
Original file line number Diff line number Diff line change @@ -147,9 +147,8 @@ extension Swift2JavaTranslator {
147147 " java.lang.invoke.* " ,
148148 " java.util.Arrays " ,
149149 " java.util.stream.Collectors " ,
150- " java.nio.charset.StandardCharsets " ,
151-
152150 " java.util.concurrent.atomic.* " ,
151+ " java.nio.charset.StandardCharsets " ,
153152 ]
154153
155154}
Original file line number Diff line number Diff line change 1515package org .swift .swiftkit ;
1616
1717import java .lang .foreign .*;
18- import java .lang .invoke .MethodHandle ;
18+ import java .lang .invoke .* ;
1919
2020import static java .lang .foreign .ValueLayout .JAVA_BYTE ;
2121import static org .swift .swiftkit .SwiftKit .getSwiftInt ;
You can’t perform that action at this time.
0 commit comments