锁定老帖子 主题:JDK 7 终于发布了
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (2)
|
|
---|---|
作者 | 正文 |
发表时间:2011-07-29
tenderuser 写道 很伤心的说, javaeye新闻竟然没有java7的 。。
你都说人家是javaeye了,人家肯定没有java 啊。。。 |
|
返回顶楼 | |
发表时间:2011-07-29
说实话, 我也是很纳闷,为什么发布的这么低调呢? 貌似不像Oracle的风格啊~~~~~~
|
|
返回顶楼 | |
发表时间:2011-07-29
不急,还是等下个升级版
|
|
返回顶楼 | |
发表时间:2011-07-29
|
|
返回顶楼 | |
发表时间:2011-07-29
为什么哈java不支持字符串换行~~~
|
|
返回顶楼 | |
发表时间:2011-07-29
刚装上,体验了一把,有空看看新特性。
|
|
返回顶楼 | |
发表时间:2011-07-29
说实话, 自从 sun 被 oracle 那什么之后. 好多东西都, 表示不敢下. VirtualBox 都还是用的之前 sun logo 的版本
|
|
返回顶楼 | |
发表时间:2011-07-29
周末升级我的管家
刚才试了一下,在7里面跑起来没问题,只是菜单有阴影 |
|
返回顶楼 | |
发表时间:2011-07-29
最后修改:2011-07-29
我也贴一个直接的下载地址:
http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html Java 7 的新特性一览表(中文翻印的): http://www.oschina.net/news/20119/new-features-of-java-7 |
|
返回顶楼 | |
发表时间:2011-07-29
Don’t Use Java 7, For Anything
http://www.lucidimagination.com/blog/2011/07/28/dont-use-java-7-for-anything/ 引用 Java 7 GA was released today, but as noted by Uwe Schindler, there are some very frightening bugs in HotSpot Loop optimizations that are enabled by default. In the best case scenario, these bugs cause the JVM to crash. In the worst case scenario, they cause incorrect execution of loops.
Bottom Line: Don’t use Java 7 for anything (unless maybe you know you don’t have any loops in your java code) 引用 From: Uwe Schindler
Date: Thu, 28 Jul 2011 23:13:36 +0200 Subject: [WARNING] Index corruption and crashes in Apache Lucene Core / Apache Solr with Java 7 Hello Apache Lucene & Apache Solr users, Hello users of other Java-based Apache projects, Oracle released Java 7 today. Unfortunately it contains hotspot compiler optimizations, which miscompile some loops. This can affect code of several Apache projects. Sometimes JVMs only crash, but in several cases, results calculated can be incorrect, leading to bugs in applications (see Hotspot bugs 7070134 [1], 7044738 [2], 7068051 [3]). Apache Lucene Core and Apache Solr are two Apache projects, which are affected by these bugs, namely all versions released until today. Solr users with the default configuration will have Java crashing with SIGSEGV as soon as they start to index documents, as one affected part is the well-known Porter stemmer (see LUCENE-3335 [4]). Other loops in Lucene may be miscompiled, too, leading to index corruption (especially on Lucene trunk with pulsing codec; other loops may be affected, too - LUCENE-3346 [5]). These problems were detected only 5 days before the official Java 7 release, so Oracle had no time to fix those bugs, affecting also many more applications. In response to our questions, they proposed to include the fixes into service release u2 (eventually into service release u1, see [6]). This means you cannot use Apache Lucene/Solr with Java 7 releases before Update 2! If you do, please don't open bug reports, it is not the committers' fault! At least disable loop optimizations using the -XX:-UseLoopPredicate JVM option to not risk index corruptions. Please note: Also Java 6 users are affected, if they use one of those JVM options, which are not enabled by default: -XX:+OptimizeStringConcat or -XX:+AggressiveOpts It is strongly recommended not to use any hotspot optimization switches in any Java version without extensive testing! In case you upgrade to Java 7, remember that you may have to reindex, as the unicode version shipped with Java 7 changed and tokenization behaves differently (e.g. lowercasing). For more information, read JRE_VERSION_MIGRATION.txt in your distribution package! On behalf of the Lucene project, Uwe [1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7070134 [2] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7044738 [3] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7068051 [4] https://issues.apache.org/jira/browse/LUCENE-3335 [5] https://issues.apache.org/jira/browse/LUCENE-3346 [6] http://s.apache.org/StQ |
|
返回顶楼 | |