Skip to content

Commit c1cf101

Browse files
committed
avoid dead code warning
1 parent 499ea03 commit c1cf101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftJava/JavaKitVM/JavaVirtualMachine.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ extension JavaVirtualMachine {
190190

191191
// If we failed to attach, report that.
192192
if let attachError = VMError(fromJNIError: attachResult) {
193+
// throw attachError
193194
fatalError("JVM Error: \(attachError)")
194-
throw attachError
195195
}
196196

197197
JavaVirtualMachine.destroyTLS.set(jniEnv!)

0 commit comments

Comments
 (0)