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

Remove find-java-rt-jar.sh, document how -b interacts with older JDKs #1063

Merged
merged 1 commit into from
Feb 11, 2021

Conversation

RyanGlScott
Copy link
Contributor

@RyanGlScott RyanGlScott commented Feb 5, 2021

  • Remove the use of the find-java-rt-jar.sh script in CI, as this is no longer necessary with the advent of --java-bin-dirs/searching the PATH for Java. This fixes intTests: Stop using the find-java-rt-jar.sh script #1061.

  • Now that find-java-rt-jar.sh is gone, there is no longer any need for the .github/PropertiesTest.java utility, nor is there any need for the find_java bash function that leverages this. This patch removes both of them as well.

  • On a related note, it turns out that SAW's approach to detecting where rt.jar lives likely doesn't work on pre-7 JDKs on macOS. Given how ancient these versions of Java anymore, let's just document this infelicity in the manual and describe a workaround for those brave enough to try this. Fixes Automatic rt.jar detection is likely incorrect on macOS for pre-7 versions of the JDK #1062.

* Remove the use of the `find-java-rt-jar.sh` script in CI, as this is no
  longer necessary with the advent of `--java-bin-dirs`/searching the `PATH`
  for Java. This fixes #1061.

* Now that `find-java-rt-jar.sh` is gone, there is no longer any need for the
  `.github/PropertiesTest.java` utility, nor is there any need for the
  `find_java` bash function that leverages this. This patch remove both of them
  as well.

* On a related note, it turns out that SAW's approach to detecting where
  `rt.jar` lives likely doesn't work on pre-7 JDKs on macOS. Given how
  ancient these versions of Java anymore, let's just document this infelicity
  in the manual and describe a workaround for those brave enough to try this.
  Fixes #1062.
@RyanGlScott RyanGlScott added the PR: ready to merge Magic flag for pull requests to ask Mergify to merge given an approval and a successful CI run label Feb 11, 2021
@mergify mergify bot merged commit 856f4e0 into master Feb 11, 2021
@mergify mergify bot deleted the java-bin-dirs-tweaks branch February 11, 2021 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: ready to merge Magic flag for pull requests to ask Mergify to merge given an approval and a successful CI run
Projects
None yet
2 participants