Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GAE-Bug: Cannot compile GAE app if java not installed #2060

Merged
merged 2 commits into from
Sep 22, 2022

Conversation

zhanglei1949
Copy link
Collaborator

What do these changes do?

Related issue number

#2053

@zhanglei1949 zhanglei1949 marked this pull request as draft September 21, 2022 12:41
@codecov-commenter
Copy link

codecov-commenter commented Sep 21, 2022

Codecov Report

Merging #2060 (7741be0) into main (7741be0) will not change coverage.
The diff coverage is n/a.

❗ Current head 7741be0 differs from pull request most recent head c6d4f4d. Consider uploading reports for the commit c6d4f4d to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2060   +/-   ##
=======================================
  Coverage   44.06%   44.06%           
=======================================
  Files          89       89           
  Lines        9845     9845           
=======================================
  Hits         4338     4338           
  Misses       5507     5507           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7741be0...c6d4f4d. Read the comment docs.

find_package(JNI REQUIRED)
include_directories(SYSTEM ${JAVA_INCLUDE_PATH})
include_directories(SYSTEM ${JAVA_INCLUDE_PATH2})
endif()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those two block seems duplicate.

_java_executable, os.X_OK
):
return False
return True
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method should be deleted.

@zhanglei1949 zhanglei1949 marked this pull request as ready for review September 22, 2022 01:42
endif()

# include jni------------------------------------------------------------------
if(ENABLE_JAVA_SDK)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems these two if(ENABLE_JAVA_SDK) branches could be merged?

f

fix

try to fix

f

format

format

f

remove method

f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants