Skip to content

Commit

Permalink
continue on native method not found
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Ski committed Oct 15, 2024
1 parent 6c87b8a commit 25fc7ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ private void generateCppFile (ArrayList<JavaSegment> javaSegments, List<FileDesc
if (segment instanceof JavaMethod) {
JavaMethod javaMethod = (JavaMethod)segment;
if (javaMethod.getNativeCode() == null) {
throw new RuntimeException("Method '" + javaMethod.getName() + "' has no body");
continue;
}
CMethod cMethod = findCMethod(javaMethod, cMethods);
if (cMethod == null)
Expand Down

0 comments on commit 25fc7ef

Please sign in to comment.