Skip to content

Commit

Permalink
[Truffle] JT: remove code to change java version since 8 is default now.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Nov 13, 2016
1 parent 98ff4f8 commit fbc6255
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tool/jt.rb
Expand Up @@ -1324,10 +1324,6 @@ def check_ambiguous_arguments
# modify pom
pom = "#{JRUBY_DIR}/truffle/pom.rb"
contents = File.read(pom)
contents.gsub!(/^(\s+)'source'\s*=>.+'1.7'.+,\n\s+'target'\s*=>.+\s*'1.7.+,\n/) do
indent = $1
$&.gsub("1.7", "1.8") + "#{indent}'fork' => 'true',\n"
end
contents.sub!(/^(\s+)('-J-Dfile.encoding=UTF-8')(.+\n)(?!\1'-parameters')/) do
"#{$1}#{$2},\n#{$1}'-parameters'#{$3}"
end
Expand Down

0 comments on commit fbc6255

Please sign in to comment.