Skip to content

Commit

Permalink
Avoid GREATER_EQUAL in CMake files
Browse files Browse the repository at this point in the history
GREATER_EQUAL is not available in the minimum CMake version that OpenJ9
supports.

So, Java version >= 11 is rewritten as an "else()".

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
  • Loading branch information
babsingh committed May 25, 2022
1 parent afc8574 commit c1572f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runtime/jcl/exports.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -636,8 +636,7 @@ if(J9VM_OPT_OPENJDK_METHODHANDLE)
)
if(JAVA_SPEC_VERSION EQUAL 8)
omr_add_exports(jclse Java_java_lang_invoke_MethodHandleNatives_getConstant)
endif()
if(JAVA_SPEC_VERSION GREATER_EQUAL 11)
else()
omr_add_exports(jclse
Java_java_lang_invoke_MethodHandleNatives_copyOutBootstrapArguments
Java_java_lang_invoke_MethodHandleNatives_clearCallSiteContext
Expand Down

0 comments on commit c1572f3

Please sign in to comment.