Skip to content

[d16-0] Check if system Java is installed#54

Closed
bratsche wants to merge 1 commit intod16-0from
d16-0-check-system-java-installed
Closed

[d16-0] Check if system Java is installed#54
bratsche wants to merge 1 commit intod16-0from
d16-0-check-system-java-installed

Conversation

@bratsche
Copy link
Copy Markdown
Contributor

Backport of #52 to d16-0

This checks for /System/Library/Java/JavaVirtualMachines if we're
trying to use the system java. If there is no system Java installed
then calling /usr/bin/java has the unfortunate effect of popping up
a dialog telling the user to install a JDK.

Fixes VSTS #735545

This checks for /System/Library/Java/JavaVirtualMachines if we're
trying to use the system java. If there is no system Java installed
then calling /usr/bin/java has the unfortunate effect of popping up
a dialog telling the user to install a JDK.

Fixes VSTS #735545
@bratsche bratsche requested a review from jonpryor December 11, 2018 22:27
@jonpryor
Copy link
Copy Markdown
Contributor

Manually cherry-picked as d6744a2.

@jonpryor jonpryor closed this Dec 12, 2018
@bratsche bratsche deleted the d16-0-check-system-java-installed branch December 12, 2018 18:36
jonathanpeppers added a commit that referenced this pull request Mar 4, 2026
New findings:

- `#52`: Never use null-forgiving operator (!)
- `#53`: Add overloads to reduce caller ceremony
- `#54`: Delete unused overloads
- `#55`: Prefer C# pattern matching
- `#56`: Section-separator comments are `#region` in disguise

Updated `review-rules.md`: extended `#region` ban to cover banner
comments, added null-forgiving `!` as AI anti-pattern, added overload
and pattern matching rules to API Design section.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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