From: Matt Corallo Date: Sun, 12 Dec 2021 18:35:18 +0000 (+0000) Subject: Check exceptions after calling Enum.ordinal() from Rust X-Git-Tag: v0.0.104.0^2~9 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=3f0f3132a37f1ff47d67a13a8d1a1fe5d169b5af;hp=3f0f3132a37f1ff47d67a13a8d1a1fe5d169b5af;p=ldk-java Check exceptions after calling Enum.ordinal() from Rust This generally shouldn't ever fire, but otherwise Java says, e.g. WARNING in native method: JNI call made without checking exceptions when required to from CallIntMethod at org.ldk.impl.bindings.create_invoice_from_channelmanager(Native Method) ---