File tree Expand file tree Collapse file tree 6 files changed +5
-7
lines changed
main/java/com/github/sbt/jni/javah/util Expand file tree Collapse file tree 6 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,6 @@ public static String mangleName(String name) {
5353 char ch = name .charAt (i );
5454 if (ch == '.' ) {
5555 builder .append ('_' );
56- } else if (ch == '$' ) {
57- builder .append ("__" );
5856 } else if (ch == '_' ) {
5957 builder .append ("_1" );
6058 } else if (ch == ';' ) {
Original file line number Diff line number Diff line change 11#include <jni.h>
22#include "multiclasses_Adder.h"
3- #include "multiclasses_Adder__ .h"
3+ #include "multiclasses_Adder_00024 .h"
44
55/*
66 * Class: multiclasses_Adder
Original file line number Diff line number Diff line change 11> +javah
2- $ exists src/native/include/simple_Library__ .h
2+ $ exists src/native/include/simple_Library_00024 .h
33> nativeInit cmake demo
44> +run
Original file line number Diff line number Diff line change 11> +javah
2- $ exists native/src/include/simple_Library__ .h
2+ $ exists native/src/include/simple_Library_00024 .h
33> nativeInit cmake demo
44> +test
55> +core/run
Original file line number Diff line number Diff line change 11#include <stdio.h>
2- #include "simple_Library__ .h"
2+ #include "simple_Library_00024 .h"
33
44/*
55 * Class: simple_Library__
Original file line number Diff line number Diff line change 11> +javah
2- $ exists native/src/include/simple_Library__ .h
2+ $ exists native/src/include/simple_Library_00024 .h
33> nativeInit cmake demo
44> +test
55> +core/run
You can’t perform that action at this time.
0 commit comments