We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b37612 commit cd2f979Copy full SHA for cd2f979
Samples/JExtractPluginSampleApp/Sources/JExtractPluginSample/main.swift
@@ -12,14 +12,6 @@
12
//
13
//===----------------------------------------------------------------------===//
14
15
-import JavaKit
16
-
17
-let jvm = try JavaVirtualMachine.shared(classPath: ["QuadraticSieve-1.0.jar"])
18
-do {
19
- let sieveClass = try JavaClass<SieveOfEratosthenes>(environment: jvm.environment())
20
- for prime in sieveClass.findPrimes(100)! {
21
- print("Found prime: \(prime.intValue())")
22
- }
23
-} catch {
24
- print("Failure: \(error)")
+public class MyCoolLibrary {
+ public func exposedToJava() { }
25
}
0 commit comments