Skip to content

Commit

Permalink
Include ASSEMBLY_EXCEPTION in minimal JDK.
Browse files Browse the repository at this point in the history
Progress towards #6314

RELNOTES: None
PiperOrigin-RevId: 226317159
  • Loading branch information
meisterT authored and Copybara-Service committed Dec 20, 2018
1 parent b2f0e26 commit 060441f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/minimize_jdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ if [[ "$UNAME" =~ msys_nt* ]]; then
./bin/jlink --module-path ./jmods/ --add-modules "$modules" \
--vm=server --strip-debug --no-man-pages \
--output reduced
cp DISCLAIMER readme.txt reduced/
cp DISCLAIMER readme.txt legal/java.base/ASSEMBLY_EXCEPTION \
reduced/
zip -r -9 ../reduced.zip reduced/
cd ..
mv reduced.zip "$out"
Expand All @@ -43,7 +44,8 @@ else
./bin/jlink --module-path ./jmods/ --add-modules "$modules" \
--vm=server --strip-debug --no-man-pages \
--output reduced
cp DISCLAIMER readme.txt reduced/
cp DISCLAIMER readme.txt legal/java.base/ASSEMBLY_EXCEPTION \
reduced/
GZIP=-9 tar -zcf ../reduced.tgz reduced
cd ..
mv reduced.tgz "$out"
Expand Down

0 comments on commit 060441f

Please sign in to comment.