From 3bd3addc649899840f80acd2181d1b97f538b128 Mon Sep 17 00:00:00 2001 From: alemi Date: Sat, 21 Sep 2024 17:58:33 +0200 Subject: [PATCH] fix: use raw exception class path --- macro/macro.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macro/macro.rs b/macro/macro.rs index f166d90..d2862eb 100644 --- a/macro/macro.rs +++ b/macro/macro.rs @@ -60,7 +60,7 @@ fn generate_jni_wrapper(attrs: TokenStream, input: TokenStream) -> Result { if let TokenTree::Literal(i) = attr { let raw = i.to_string().replace('"', "").replace(".", "_"); - exception = Some(i); + exception = Some(raw); what_next = WhatNext::Nothing; } }