Closed suujia closed 6 years ago
before changes:
$ brew irb
$ JavaRequirement.new(%w[1.8]).send("satisfied?")
=> false
after pull request changes:
$ JavaRequirement.new(%w[1.7+]).send("possible_javas")
=> [#<Pathname:/home/linuxbrew/.linuxbrew/opt/jdk/bin/java>, #<Pathname:/home/linuxbrew/.linuxbrew/bin/java>, #<Pathname:/home/linuxbrew/.linuxbrew/opt/jdk@8/bin/java>, #<Pathname:/home/linuxbrew/.linuxbrew/bin/java>]
$ JavaRequirement.new(%w[1.8]).send("satisfied?")
=> true
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
hopefully, it also fixes https://github.com/brewsci/homebrew-base/pull/5
bump
cc @sjackman
Merged with a few changes in PR https://github.com/Linuxbrew/brew/pull/825. Sorry for the delay in getting to this PR. Thanks for this work, Susie!
brew style
with your changes locally?brew tests
with your changes locally?Some of the reasoning is at bottom of: https://github.com/brewsci/homebrew-bio/pull/272 Attempting to fix formulas that depend specifically jdk@8 issue was also found here: https://github.com/brewsci/homebrew-bio/pull/158