ref: 5141e5b3e779573f907215a21d4a4731adb9c89b
parent: 113aad8b3e341833dcb6886b71e22f733e2ec63c
author: Simon Tatham <[email protected]>
date: Mon May 14 14:18:28 EDT 2018
Bump the source and target versions used in javac. I've just upgraded my build machine to Ubuntu 18.04, which has come with a version of javac that complains about both -source 1.3 and -target 1.3. Both are surely pretty out of date anyway, so the path of least resistance is to just increase them to the earliest version that javac doesn't currently complain is deprecated.
--- a/Recipe
+++ b/Recipe
@@ -139,7 +139,7 @@
echo "Main-Class: PuzzleApplet" >applet.manifest
PuzzleApplet.class: PuzzleApplet.java org
- javac -source 1.3 -target 1.3 PuzzleApplet.java
+ javac -source 1.7 -target 1.7 PuzzleApplet.java
%.jar: %.class PuzzleApplet.class org
mv $< PuzzleEngine.class