Skip to content

Conversation

apjanke
Copy link
Contributor

@apjanke apjanke commented Feb 12, 2018

  • Have you followed the guidelines for contributing?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

Updates javarepl to require exactly Java 1.8, fixing Java 9 breakage.

Addresses #19696.

def install
libexec.install "javarepl-#{version}.jar"
bin.write_jar_script libexec/"javarepl-#{version}.jar", "javarepl"
bin.write_jar_script libexec/"javarepl-#{version}.jar", "javarepl", :"java_version" => "1.8"
Copy link
Contributor

Choose a reason for hiding this comment

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

Are the quotes around java_version needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope. Amended.

Copy link
Contributor

@ilovezfs ilovezfs left a comment

Choose a reason for hiding this comment

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

We have to wait on a new tag here.

@apjanke
Copy link
Contributor Author

apjanke commented Feb 12, 2018

new tag? Not sure I follow.

@ilovezfs
Copy link
Contributor

@apjanke you're using the new DSL so any regular users who are on brew's last stable tag not HEAD will get an install failure if I merge this. It would be best to ditch the new DSL for this PR so that it doesn't sit and rot.

@apjanke
Copy link
Contributor Author

apjanke commented Feb 12, 2018

Ah, gotcha. Amended. How about this?

@ilovezfs
Copy link
Contributor

seems fine

@ilovezfs ilovezfs merged commit 1bf51af into Homebrew:master Feb 12, 2018
@ilovezfs
Copy link
Contributor

🚀 thank you :)

@ilovezfs ilovezfs mentioned this pull request Feb 12, 2018
@apjanke apjanke deleted the javarepl-java8 branch February 12, 2018 17:22
@apjanke
Copy link
Contributor Author

apjanke commented Feb 12, 2018

👍

@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants