Monday, August 1, 2011

Episode 47

Unsupported Operation 47

Java

  • Java 7 released - much faster startup time, but real buggy
    • Last month ago some new patches/tests were added to Apache Lucene which triggered/unveiled some serious bugs in Hotspots's loop optimization which is now enabled by default in JDK7.
    • Cay Horstman calls Java 7 unsafe at any speed.
    • Mark Reinhold told me there should be an update release soon with the fixes.  Oracle seems very good at update releases, usually one a month for security/critical fixes.
    • 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 [http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2011-July/005971.html]). This means you cannot use 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 options
    • Java 7 paralyzes Lucene/Solr
    • Don’t use Java - are you kidding me? Putting things in perspective
    • Martin Clausen has put together a nice table/blog post outlining “Oracle Java 7 and ‘Commercial Features’” - listing what parts of the stack can, or cannot be freely installed.  Whilst the wording in the new license agreement has changed, and seems to have a few people up in arms, it doesn’t look that much different to Suns old license.  IANAL tho.
  • Java Magazine now available
  • Glassfish 3.3.1
  • Netbeans 7.0.1
  • OSCON Java 2011
  • Jitescript - fluent Java API for generating java classes on the fly - kinda scary code, but combine that with something like Parboiled PEG Parser/ANTLR and you could have something very powerful.
  • JBoss OSGi 1.0.0 released

Google

Apache

Sonatype / Maven

  • Jason van Zyl made a “maven” 3.0.4-SONATYPE distribution available including patches not yet pushed to upstream due to the Aether EPL licensing issue.  This is NOT an official Apache Maven release but does fix Richard’s dependency resolution issue, among other things.
  • New maven-release-plugin should be released soon which fixes the -SNAPSHOT tagging issue.

Scala

Misc