Skip to content

Commit

Permalink
Try not specifying java 6 for javac
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeKamentsky committed Jul 23, 2019
1 parent fc5d314 commit 16d6c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def build_jar_from_sources(self, jar, sources):

javac_loc = find_javac_cmd()
dirty_jar = False
javac_command = [javac_loc, "-source", "6", "-target", "6"]
javac_command = [javac_loc]
for source in sources:
javac_command.append(package_path(source))
if needs_compilation(jar, source):
Expand Down

0 comments on commit 16d6c91

Please sign in to comment.