Skip to content
This repository was archived by the owner on Mar 15, 2022. It is now read-only.

Commit 23942a8

Browse files
author
Brian Durand
committed
Java 1.5 compatible
1 parent 1cb5aef commit 23942a8

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ namespace :java do
5454
up_to_date = File.exist?(jar_file) && source_files.all?{|f| File.mtime(f) <= File.mtime(jar_file)}
5555
unless up_to_date
5656
FileUtils.mkdir_p(classes_dir)
57-
`#{ENV['JAVA_HOME']}/bin/javac -classpath '#{"#{ENV['JRUBY_HOME']}/lib/jruby.jar"}' -d '#{classes_dir}' -sourcepath '#{ext_dir}' '#{source_files.join("' '")}'`
57+
`#{ENV['JAVA_HOME']}/bin/javac -target 1.5 -classpath '#{"#{ENV['JRUBY_HOME']}/lib/jruby.jar"}' -d '#{classes_dir}' -sourcepath '#{ext_dir}' '#{source_files.join("' '")}'`
5858
if $? == 0
5959
FileUtils.rm_rf(jar_dir) if File.exist?(jar_dir)
6060
FileUtils.mkdir_p(jar_dir)

lib/org/jruby/ext/ref/references.jar

-65 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)