Skip to content
This repository has been archived by the owner on Dec 21, 2024. It is now read-only.

Commit

Permalink
Target Java 8
Browse files Browse the repository at this point in the history
Update `javac -source` and `javac -target` to specify 1.8 instead of
1.5 and 1.6, respectively, because OpenJDK 11 no longer supports
`javac -source 1.5`, and `javac -target 1.6` is deprecated.

This change allows `jar2xml` to *build* with the newer OpenJDK 11.
  • Loading branch information
jonpryor committed Apr 17, 2020
1 parent 106fe9f commit 4125da6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ sources = \
$(TARGET): $(sources) MANIFEST.MF
-rm -rf obj
mkdir -p obj
javac -source 1.5 -target 1.6 -g -d obj $(sources) -cp asm-debug-all-5.0.3.jar
javac -source 1.8 -target 1.8 -g -d obj $(sources) -cp asm-debug-all-5.0.3.jar
mkdir -p tmp-asm-expanded
unzip asm-debug-all-5.0.3.jar -d tmp-asm-expanded
jar cfm "$@" MANIFEST.MF LICENSE-ASM.txt -C obj/ . -C tmp-asm-expanded .
Expand Down

0 comments on commit 4125da6

Please sign in to comment.