mirror of
https://github.com/hexedtech/jni-toolbox.git
synced 2024-11-22 07:24:53 +01:00
fix: use raw exception class path
This commit is contained in:
parent
93f633bad1
commit
3bd3addc64
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue