Skip to content

Commit

Permalink
Merge pull request ibmruntimes#735 from IBMJimmyk/clang
Browse files Browse the repository at this point in the history
Fixes return value type in a JNI method
  • Loading branch information
pshipton committed Feb 2, 2024
2 parents 33602fc + a794a39 commit e38fde9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion jdk/src/share/native/com/sun/java/util/jar/pack/jni.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/

/*
* ===========================================================================
* (c) Copyright IBM Corp. 2024, 2024 All Rights Reserved
* ===========================================================================
*/

#include <sys/types.h>

#include <stdio.h>
Expand Down Expand Up @@ -292,7 +299,7 @@ Java_com_sun_java_util_jar_pack_NativeUnpack_getUnusedInput(JNIEnv *env, jobject

if (uPtr->aborting()) {
THROW_IOE(uPtr->get_abort_message());
return false;
return null;
}

// We have fetched all the files.
Expand Down

0 comments on commit e38fde9

Please sign in to comment.