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

Commit 4125da6

Browse files
committed
Target Java 8
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.
1 parent 106fe9f commit 4125da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ sources = \
3232
$(TARGET): $(sources) MANIFEST.MF
3333
-rm -rf obj
3434
mkdir -p obj
35-
javac -source 1.5 -target 1.6 -g -d obj $(sources) -cp asm-debug-all-5.0.3.jar
35+
javac -source 1.8 -target 1.8 -g -d obj $(sources) -cp asm-debug-all-5.0.3.jar
3636
mkdir -p tmp-asm-expanded
3737
unzip asm-debug-all-5.0.3.jar -d tmp-asm-expanded
3838
jar cfm "$@" MANIFEST.MF LICENSE-ASM.txt -C obj/ . -C tmp-asm-expanded .

0 commit comments

Comments
 (0)