fix: use raw exception class path

This commit is contained in:
əlemi 2024-09-21 17:58:33 +02:00
parent 93f633bad1
commit 3bd3addc64
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -60,7 +60,7 @@ fn generate_jni_wrapper(attrs: TokenStream, input: TokenStream) -> Result<TokenS
WhatNext::Exception => {
if let TokenTree::Literal(i) = attr {
let raw = i.to_string().replace('"', "").replace(".", "_");
exception = Some(i);
exception = Some(raw);
what_next = WhatNext::Nothing;
}
}