summaryrefslogtreecommitdiff
path: root/rules/commons-lang2/java4-enum.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rules/commons-lang2/java4-enum.mk')
-rw-r--r--rules/commons-lang2/java4-enum.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/commons-lang2/java4-enum.mk b/rules/commons-lang2/java4-enum.mk
new file mode 100644
index 0000000..7689b64
--- /dev/null
+++ b/rules/commons-lang2/java4-enum.mk
@@ -0,0 +1,6 @@
+# error: as of release 5, 'enum' is a keyword, and may not be used as an identifier
+# package org.apache.commons.lang.enum;
+# ^
+# (use -source 1.4 or lower to use 'enum' as an identifier)
+
+JAVAC += -source 1.4