Skip to content

Fix jdk detection: cover symlink folder on Linux#1704

Merged
testforstephen merged 1 commit intoredhat-developer:masterfrom
Eskibear:linux-jdk-detection
Nov 19, 2020
Merged

Fix jdk detection: cover symlink folder on Linux#1704
testforstephen merged 1 commit intoredhat-developer:masterfrom
Eskibear:linux-jdk-detection

Conversation

@Eskibear
Copy link
Copy Markdown
Contributor

On Linux it's common that a JDK homedir is a symlink, and symlink fails isDirectory() test.

See #1701 (comment)

Signed-off-by: Yan Zhang <yanzh@microsoft.com>
@testforstephen testforstephen added this to the Mid November 2020 milestone Nov 19, 2020
@testforstephen testforstephen merged commit bcb80b1 into redhat-developer:master Nov 19, 2020
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.

2 participants