您当前的位置:首页 > ruby

JRuby 9.0.0.0.rc1/1.7.20.1 发布

JRuby 9.0.0.0.rc1 发布,此版本是 JRuby 团队经过多年的努力和大规模重新启动一些 JRuby 子系统的结果。此版本兼容 Ruby 2.2.x,并且同步 C Ruby。NOjlinux系统宝典

JRuby 9000 主要特性:NOjlinux系统宝典

  • Ruby 2.2 兼容NOjlinux系统宝典

  • 基于一个传统编译器设计的优化运行时NOjlinux系统宝典

  • 新 POSIX 友好 IO 和 ProcessNOjlinux系统宝典

  • 可以完全从 MRI 移植编码/转码逻辑NOjlinux系统宝典

相比 pre2 的重要更新

  • Updated to Rubygems 2.4.8 addressing CVE-2015-1855NOjlinux系统宝典

  • Several parser issues (also fixed in ripper)NOjlinux系统宝典

  • Optimized multiple assignmentNOjlinux系统宝典

  • Several added smaller missing methods for better 2.2 compatibilityNOjlinux系统宝典

  • A couple of bugs involving nested exceptions/ensures and $!NOjlinux系统宝典

  • 46 issues fixed for 9.0.0.0.rc1NOjlinux系统宝典

JRuby 9000 初步支持 Truffle 语言实现框架和 实验室的 Graal VM。详情请看 。NOjlinux系统宝典

JRuby 9.0.0.0.rc1 issues

  • - Don't call modify() on RubyStrings so eagerly when freezing themNOjlinux系统宝典

  • - Small string values backed by HUGE non-shared ByteList leading to large memory usage under 9kNOjlinux系统宝典

  • - OutOfMemoryError in 9k on code with very large methodsNOjlinux系统宝典

  • - 9k has different scoping behavior than MRINOjlinux系统宝典

  • - LocalJumpError: yield called out of block in JRuby 9.0.0.0.pre2NOjlinux系统宝典

  • - Module#included is private when called with superNOjlinux系统宝典

  • - splats with non-array like valuesNOjlinux系统宝典

  • - add recursion guard in Comparable.NOjlinux系统宝典

  • - Don't warn on private attribute accessors to match CRubyNOjlinux系统宝典

  • - Many failures in Sequel tests on [RuntimeError] exception expected, not Class: <NoMethodError>  Message: <"undefined method `[]' for nil:NilClass">NOjlinux系统宝典

  • - certain require do not load extension Service classNOjlinux系统宝典

  • - Socket.pair is not implementedNOjlinux系统宝典

  • - Net::HTTP can't ignore http.proxyHost of JVM System PropertyNOjlinux系统宝典

  • - Regression: Sequel's literals contain additional quotation marks under JRuby 9k head but not under pre2NOjlinux系统宝典

  • - Requiring Sequel triggers false warnings `already initialized constant`NOjlinux系统宝典

  • - NotImplementedError: waitpid unsupported or native support failed to load on OS X 10.9.5 / OpenJDK 8 / rbenvNOjlinux系统宝典

  • - JRuby 9k-pre2 throws IOError when reading from $stdinNOjlinux系统宝典

  • - JRuby 9.0.0.0.pre2 starts hanging while reading from a socketNOjlinux系统宝典

  • - Issue #2924NOjlinux系统宝典

  • - Issue in org.jruby.util.TypeConverter CheckTypeNOjlinux系统宝典

  • - Proc from Method breaks encoded parameter listNOjlinux系统宝典

  • - Add another layer of try/finally around rescue/ensure to reset $!.NOjlinux系统宝典

  • - Method#parameters doesn't annotate required parameters correctlyNOjlinux系统宝典

  • - Multiple assignment has too much overheadNOjlinux系统宝典

  • - $! does not get cleared under certain circumstancesNOjlinux系统宝典

  • - Different Regexp behavior from MRINOjlinux系统宝典

  • - require 'ripper' yields const already init warningsNOjlinux系统宝典

  • - Fix for issue 2896 on master : Symbol#inspect with utf8 encode stringNOjlinux系统宝典

  • - jrubyc failing - TypeError: failed to coerce org.objectweb.asm.ClassWriter to org.jruby.org.objectweb.asm.ClassVisitorNOjlinux系统宝典

  • - Implementation of initialize_copy for BigDecimal (fix #2868)NOjlinux系统宝典

  • - Enabling tty for powerpc64NOjlinux系统宝典

  • - NameError different behaviorNOjlinux系统宝典

  • - BigDecimal can not be copiedNOjlinux系统宝典

  • - Fannkuch-redux is less than half as fast in 9k as in 1.7NOjlinux系统宝典

  • - Make Dir raise Errno::EACCESNOjlinux系统宝典

  • - Allow File.open and File.new with 4 argumentsNOjlinux系统宝典

  • - Syntax error with file that has OK syntax with MRI 2.2NOjlinux系统宝典

  • - Socket.getaddrinfo reverse_lookupNOjlinux系统宝典

  • - Fix power of 0 and 1 issues in RationalNOjlinux系统宝典

  • - Fix File.read with UTF-16LENOjlinux系统宝典

  • - Add support for named captures in StringScanner (fixes #1067)NOjlinux系统宝典

  • - RubyArray#flatten! uses `respond_to?` unlike the original [lotus]NOjlinux系统宝典

  • - Truffle: Understand and reduce impact of Truffle on the distribution sizeNOjlinux系统宝典

  • - Demonstrate pedantic optionNOjlinux系统宝典

  • - -X... and -X? options to search for properties.NOjlinux系统宝典

  • - Another unexpected kDO_BLOCK error in parserNOjlinux系统宝典

同时还发布了 JRuby 1.7.20.1 版本,是 JRuby 1.7.0 以来的第 24 个更新版本,主要是兼容 Ruby 1.9.3。此版本安全更新只是升级 Rubygems 到版本 2.4.8,解决 CVE-2015-1855 漏洞。强烈建议升级!NOjlinux系统宝典

  • Homepage: NOjlinux系统宝典

  • Download: NOjlinux系统宝典

JRuby是面向Ruby、基于Java虚拟机(JVM)的一种解释程序,它结合了Ruby语言的简易性和功能强大的JVM的执行机制,包括与Java库 全面集成。Rails彻底加快及简化了Web应用的开发,不过它让人觉得不够成熟,特别是在高端企业级功能方面。另一方面,Java平台及其虚拟机、库和 应用服务器的速度、稳定性和功能方面却一直在提升,现在已被公认为是开发高端服务器应用的领先平台。不过如果Java平台不与Ruby等新兴语言联系在一 起,就有可能落后于流行趋势。NOjlinux系统宝典

JRuby 的详细介绍NOjlinux系统宝典
JRuby 的下载地址NOjlinux系统宝典



沪ICP备10206494号-4