We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7668f3 commit 511bdb1Copy full SHA for 511bdb1
java-spaghetti-gen/src/emit/java_proxy.rs
@@ -44,7 +44,7 @@ impl Class {
44
"class {} {} {} {{",
45
class_name,
46
parent_type,
47
- self.java.path().as_str().replace('/', ".")
+ self.java.path().as_str().replace('/', ".").replace('$', ".")
48
)?;
49
50
// ptr field
@@ -153,7 +153,7 @@ fn java_type_name(desc: &FieldDescriptor) -> anyhow::Result<String> {
153
// Convert JNI path to Java path
154
return Ok(format!(
155
"{}{}",
156
- path.replace('/', "."),
+ path.replace('/', ".").replace('$', "."),
157
"[]".repeat(desc.dimensions as usize)
158
));
159
}
0 commit comments