aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-07-04 12:22:51 +0200
committerSven Gothel <[email protected]>2023-07-04 12:22:51 +0200
commit8cc90ef6a61b9686cc287bf34a3fcba924276c01 (patch)
tree432f8a1985202988d0c241ea75afa09cdda29c9a /src/java/com/jogamp/gluegen
parenta599b852a041ba3d80b43981589ac1390979dac2 (diff)
GlueGen JavaType.appendDescriptor(..): Fix regression: Must return a vanilla descriptor ('/' not '_') i.e. non JNI method-name descriptor to avoid double conversion
Diffstat (limited to 'src/java/com/jogamp/gluegen')
-rw-r--r--src/java/com/jogamp/gluegen/JavaType.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/java/com/jogamp/gluegen/JavaType.java b/src/java/com/jogamp/gluegen/JavaType.java
index 3d6d839..df3432a 100644
--- a/src/java/com/jogamp/gluegen/JavaType.java
+++ b/src/java/com/jogamp/gluegen/JavaType.java
@@ -380,9 +380,7 @@ public class JavaType {
buf.append(c.getName().replace('.', '/'));
buf.append(";");
} else {
- buf.append("L");
- buf.append("java_lang_Object");
- buf.append(";");
+ buf.append("Ljava/lang/Object;");
}
}
}