Skip to content

Commit

Permalink
Replace branch links with permanent links for old java classes
Browse files Browse the repository at this point in the history
  • Loading branch information
froque committed Oct 17, 2023
1 parent 19256a5 commit 2385008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ set -euo pipefail
rm -rfv base64

curl --silent --create-dirs -O --output-dir base64/src/sun/misc/ \
https://raw.githubusercontent.com/JetBrains/jdk8u_jdk/master/src/share/classes/sun/misc/CharacterEncoder.java
https://raw.githubusercontent.com/JetBrains/jdk8u_jdk/94318f9185757cc33d2b8d527d36be26ac6b7582/src/share/classes/sun/misc/CharacterEncoder.java
curl --silent --create-dirs -O --output-dir base64/src/sun/misc/ \
https://raw.githubusercontent.com/JetBrains/jdk8u_jdk/master/src/share/classes/sun/misc/BASE64Encoder.java
https://raw.githubusercontent.com/JetBrains/jdk8u_jdk/94318f9185757cc33d2b8d527d36be26ac6b7582/src/share/classes/sun/misc/BASE64Encoder.java

mkdir -p base64/build
javac --patch-module jdk.unsupported=base64/src/ -d base64/build/ base64/src/sun/misc/*java
Expand Down

0 comments on commit 2385008

Please sign in to comment.