summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-09 08:23:18 +0900
committerGitHub <noreply@github.com>2023-03-09 08:23:18 +0900
commit248bc5bf7ea597d7a20396a8def855a1988bf490 (patch)
tree684b0d4809b2976dccda8e19c45587859cd234fb
parentc233be905baa7889c26ce033d07ecab90a395f00 (diff)
parent1d38e4d3725ae26b143b63cdd049d4efa1bc7011 (diff)
downloadjson-248bc5bf7ea597d7a20396a8def855a1988bf490.tar.gz
Merge pull request #516 from headius/java_8
JRuby requires a minimum of Java 8
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 8de6ded..4d79252 100644
--- a/Rakefile
+++ b/Rakefile
@@ -155,7 +155,7 @@ if defined?(RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
classpath = (Dir['java/lib/*.jar'] << 'java/src' << JRUBY_JAR) * ':'
obj = src.sub(/\.java\Z/, '.class')
file obj => src do
- sh 'javac', '-classpath', classpath, '-source', '1.6', '-target', '1.6', src
+ sh 'javac', '-classpath', classpath, '-source', '1.8', '-target', '1.8', src
end
JAVA_CLASSES << obj
end