Planet JDKNews and views from the Java SE Development-Kit CommunityVariousDonald Smith: #OpenJDK interview in Java Magazine &#8211; direct link, no reg required.Donald Smithhttp://openj.dk/?p=1312012-05-16T16:31:49Z2012-05-16T16:31:49Z <div xmlns="http://www.w3.org/1999/xhtml">I saw a few comments about the OpenJDK Interview I did in the most recent Java magazine, and some concern friends raised that it’s a “register to read” publication.  I highly recommend Java magazine to anyone in the Java Community, … <a shape="rect" href="http://openj.dk/2012/05/16/openjdk-interview-in-java-magazine-direct-link-no-reg-required/">Continue reading <span>→</span></a></div> DonaldOJDK2012-05-16T16:31:49ZDalibor Topić: Next Gig: LinuxTag on May 23rd & 24thDalibor Topićurn:lj:livejournal.com:atom1:robilad:1199752012-05-16T11:20:15Z2012-05-16T11:20:15Z <div xmlns="http://www.w3.org/1999/xhtml">I'll be <a shape="rect" href="http://www.linuxtag.org/2012/de/program/program/vortragsdetails.html?no_cache=1&amp;talkid=183">speaking</a> at LinuxTag in Berlin, Germany on JDK 7 Updates in OpenJDK. When I'm not speaking, I'll be mostly be around at the Oracle <a shape="rect" href="https://blogs.oracle.com/linux/entry/guten_tag_oracle_is_at">booth</a> on Wednesday &amp; Thursday.See you there!</div> 2012-05-16T11:20:15ZDalibor Topić: QotD: Donald Smith on Community Stars in OpenJDKDalibor Topićurn:lj:livejournal.com:atom1:robilad:1195572012-05-16T10:40:34Z2012-05-16T10:40:34Z <div xmlns="http://www.w3.org/1999/xhtml">Donald Smith, Director of Product Management in the Java Platform Group at Oracle, in an <a shape="rect" href="http://www.oraclejavamagazine-digital.com/javamagazine/20120506#pg32">interview</a> for the latest edition of the Java Magazine.</div> 2012-05-16T10:40:34ZAndrew Hughes: IcedTea6 1.10.7 &#38; 1.11.2 Released!Andrew Hugheshttp://blog.fuseyism.com/?p=2752012-05-14T12:56:22Z2012-05-14T12:56:22Z <div xmlns="http://www.w3.org/1999/xhtml">The IcedTea project provides a harness to build the source code from OpenJDK6 using Free Software build tools, along with additional features such as a PulseAudio sound driver and support for alternative virtual machines. A new set of releases is now available for IcedTea6, which uses OpenJDK6 as its base: IcedTea6 1.10.7 (based on OpenJDK6 [...]</div> gnu_andrew2012-05-14T12:56:22ZDalibor Topić: OpenJDK 7u4 Source Code Bundle PublishedDalibor Topićurn:lj:livejournal.com:atom1:robilad:1192652012-05-12T11:51:56Z2012-05-12T11:51:56Z <div xmlns="http://www.w3.org/1999/xhtml">As Edvard Wendelin <a shape="rect" href="http://mail.openjdk.java.net/pipermail/jdk7u-dev/2012-May/002994.html">announced</a> on the jdk7u-dev mailing list, the source code bundle corresponding to the JDK 7 Updates jdk7u/jdk7u4 Mercurial forest is now available for <a shape="rect" href="http://jdk7.java.net/source.html">download.</a>Happy packaging!</div> 2012-05-12T11:51:56ZDalibor Topić: QotD: Linus Torvalds on GitHub Pull RequestsDalibor Topićurn:lj:livejournal.com:atom1:robilad:1189252012-05-12T11:10:11Z2012-05-12T11:10:11Z <div xmlns="http://www.w3.org/1999/xhtml">Linus Torvalds <a shape="rect" href="https://github.com/torvalds/linux/pull/17#issuecomment-5654674">commenting</a> on a GitHub pull request to the Linux kernel.</div> 2012-05-12T11:10:11ZJames Gosling: ForgeRock is hiringJames Goslinghttp://nighthacks.com/roller/jag/entry/forgerock_is_hiring2012-05-11T17:07:45Z2012-05-11T17:07:45Z <div xmlns="http://www.w3.org/1999/xhtml"><a shape="rect" href="http://forgerock.com/" />The folks at <a shape="rect" href="http://forgerock.com/">ForgeRock</a> are <a shape="rect" href="http://forgerock.com/content/were-hiring">hiring</a>. They do development and support of the OpenDS/OpenAM/OpenIDM open source identity management products that had been the latest versions of the Sun Identity Manager. It's heavily ex-Sun folks. They've been around since Sun disappeared, but they just recently got funding to allow them to expand. The current employees are distributed all over the place. They have a new ...</div> James Gosling2012-05-11T17:07:45ZDonald Smith: One year back at Oracle and my first year of #openjdkDonald Smithhttp://openj.dk/?p=1262012-05-11T15:38:55Z2012-05-11T15:38:55Z <div xmlns="http://www.w3.org/1999/xhtml">Today marks the end of exactly one year since I started back at Oracle, working on OpenJDK and other things.  It’s been a heck of a year, and a lot has changed.  Many things I thought would be hard, turned … <a shape="rect" href="http://openj.dk/2012/05/11/one-year-back-at-oracle-and-my-first-year-of-openjdk/">Continue reading <span>→</span></a></div> DonaldOJDK2012-05-11T15:38:55ZJeroen Frijters: Using MethodRental.SwapMethodBody to do Method Level JIT CompilationJeroen Frijtershttp://weblog.ikvm.net/PermaLink.aspx?guid=977499e8-0a70-4744-9482-5b61325040552012-05-11T10:24:32Z2012-05-11T10:24:32Z <div xmlns="http://www.w3.org/1999/xhtml"><p> IKVM.NET has always had a class granularity JIT. Whenever a type is first "used" the CLR fires the <a shape="rect" href="http://msdn.microsoft.com/en-us/library/system.appdomain.typeresolve.aspx">AppDomain.TypeResolve</a> event and at that point the IKVM.NET runtime compiles the Java bytecode to CIL for all of the methods in the class. </p></div> 2012-05-11T10:24:32ZDalibor Topić: QotD: Alan Bateman on Project Jigsaw Preview BuildsDalibor Topićurn:lj:livejournal.com:atom1:robilad:1186052012-05-10T22:06:45Z2012-05-10T22:06:45Z <div xmlns="http://www.w3.org/1999/xhtml">Alan Bateman in a <a shape="rect" href="http://mail.openjdk.java.net/pipermail/jigsaw-dev/2012-May/002536.html">post</a> to the jigsaw-dev mailing list.</div> 2012-05-10T22:06:45ZMark Wielaard: FSF statement on jury&#8217;s partial verdict in Oracle v GoogleMark Wielaardhttp://gnu.wildebeest.org/blog/mjw/?p=8352012-05-10T07:46:43Z2012-05-10T07:46:43Z <div xmlns="http://www.w3.org/1999/xhtml">Were it grounded in reality, Oracle’s claim that copyright law gives them proprietary control over any software that uses a particular functional API would be terrible for free software and programmers everywhere. It is an unethical and greedy interpretation created with the express purpose of subjugating as many computer users as possible, and is particularly [...]</div> Mark Wielaard2012-05-10T07:46:43ZFabien Duminy: Devoxx France 2012 – Java Caching with GuavaFabien Duminyhttp://www.duminy.fr/blog/?p=16492012-05-09T07:00:31Z2012-05-09T07:00:31Z <div xmlns="http://www.w3.org/1999/xhtml">At Devoxx France 2012, I attended to conference titled Java Caching with Guava presented by Charles Fry. The Guava Cache library works one level above ConcurrentHashmap but doesn’t offer as much features as Ehcache. Guava caches aren’t pre-loaded by default and are all thread safe. The loading of a cache is done with an implementation [...]</div> fabien2012-05-09T07:00:31ZDalibor Topić: QotD: Claus von Riegen on SAP & OpenJDKDalibor Topićurn:lj:livejournal.com:atom1:robilad:1183122012-05-08T21:20:11Z2012-05-08T21:20:11Z <div xmlns="http://www.w3.org/1999/xhtml">Claus von Riegen, Vice President Industry Standards and Open Source at SAP, in a blog post titled <a shape="rect" href="http://scn.sap.com/community/open-source/blog/2012/05/07/protecting-the-future-of-java?author=">Protecting the future of Java</a>.</div> 2012-05-08T21:20:11ZDalibor Topić: Next Gig: JUG Karlsruhe on Wednesday, May 9th on JDK 7 Updates & JDK 8Dalibor Topićurn:lj:livejournal.com:atom1:robilad:1182462012-05-08T21:10:46Z2012-05-08T21:10:46Z <div xmlns="http://www.w3.org/1999/xhtml">I'll be <a shape="rect" href="http://jug-karlsruhe.mixxt.de/networks/events/show_event.55541">speaking</a> at JUG Karlsruhe on Wednesday, May 9th on <a shape="rect" href="http://openjdk.java.net/projects/jdk7u">JDK 7 Updates</a> and <a shape="rect" href="http://openjdk.java.net/projects/jdk8">JDK 8</a>.See you there!</div> 2012-05-08T21:10:46ZDonald Smith: Diversity in Action &#8211; #OpenJDK PowerPC ports proposed by SAP and IBMDonald Smithhttp://openj.dk/?p=1222012-05-08T17:36:42Z2012-05-08T17:36:42Z <div xmlns="http://www.w3.org/1999/xhtml">Volker Simonis, from SAP, posted to the OpenJDK-Discuss mailing list yesterday a proposal to start a project for PowerPC ports (AIX/Linux) in OpenJDK, driven jointly with IBM.  I think the technical and community benefits of this are self evident – … <a shape="rect" href="http://openj.dk/2012/05/08/diversity-in-action-openjdk-powerpc-ports-proposed-by-sap-and-ibm/">Continue reading <span>→</span></a></div> DonaldOJDK2012-05-08T17:36:42ZRoman Kennke: How to use Cacio-tta with FEST for Java GUI testingRoman Kennkehttp://rkennke.wordpress.com/?p=5292012-05-08T09:20:12Z2012-05-08T09:20:12Z <div xmlns="http://www.w3.org/1999/xhtml">Now that Cacio is finally released and promoted to Maven central repositories, I want to provide you a quick HOWTO about testing user interfaces. For writing GUI tests, I am using FEST. However, one problem with running GUI tests is that they need to create windows, grab keyboard focus, and do all sorts of interaction [...]</div> Roman Kennke2012-05-08T09:20:12ZFabien Duminy: Devoxx France 2012 – CRaSH a shell to extend the Java platformFabien Duminyhttp://www.duminy.fr/blog/?p=16552012-05-08T07:00:48Z2012-05-08T07:00:48Z <div xmlns="http://www.w3.org/1999/xhtml">During Devoxx France 2012, I attended the conference titled CRaSH a shell to extend the Java platform, presented by Julien Viet (his github account). CRaSH (Common ReusAble SHell) is a shell in the form of a command line interpreter allowing access to the Java virtual machine running it. This shell, under the LGPL open source [...]</div> fabien2012-05-08T07:00:48ZFabien Duminy: Devoxx France 2012 – Bytecode manipulationFabien Duminyhttp://www.duminy.fr/blog/?p=16352012-05-07T07:00:28Z2012-05-07T07:00:28Z <div xmlns="http://www.w3.org/1999/xhtml">During Devoxx France 2012, I attended the conference titled Bytecode manipulation : democratize black magic, presented by Julien Ponge (his github account) and Frédéric Le Mouel. Among libraries manipulating bytecode, there are EJB containers, terracota to distribute computations and hibernate. The eclipse plugin managing layout and display of Android screens also manipulates bytecode to instrument [...]</div> fabien2012-05-07T07:00:28ZDalibor Topić: PodFodder: Henrik Ståhl on 7u4Dalibor Topićurn:lj:livejournal.com:atom1:robilad:1178982012-05-04T10:54:25Z2012-05-04T10:54:25Z <div xmlns="http://www.w3.org/1999/xhtml">In the last <a shape="rect" href="https://blogs.oracle.com/javaspotlight/entry/java_spotlight_episode_81_henrik">episode</a> of the Java Spotlight podcast, we interviewed <a shape="rect" href="http://blogs.oracle.com/henrik">Henrik Ståhl</a>, Senior Director of Product Management in the Java Platform Group at Oracle on the latest release of Java SE 7.As usual, you can grab just this <a shape="rect" href="http://kenai.com/projects/javaspotlight/downloads/download/JavaSpotlight081.mp3">episode</a> or fetch the whole <a shape="rect" href="http://feeds.feedburner.com/TheJavaSpotlightPodcast">feed</a>.</div> 2012-05-04T10:54:25ZJeroen Frijters: New Development SnapshotJeroen Frijtershttp://weblog.ikvm.net/PermaLink.aspx?guid=9aae28e9-ab18-48b7-83c5-31e15a3d69f22012-05-04T06:58:49Z2012-05-04T06:58:49Z <div xmlns="http://www.w3.org/1999/xhtml"><p> This should hopefully be the last snapshot based on OpenJDK 7 FCS as 7u4 has shipped and the bundle should be available soon. After that I'll start work on integrating 7u4 and working towards the IKVM 7.1 release. </p></div> 2012-05-04T06:58:49ZFabien Duminy: Devoxx France 2012 – Android, Graphism and PerformanceFabien Duminyhttp://www.duminy.fr/blog/?p=16252012-05-03T07:00:34Z2012-05-03T07:00:34Z <div xmlns="http://www.w3.org/1999/xhtml">At Devoxx France 2012, I attended to the conference titled Android, Graphism and Performance presented by Romain GUY. To begin, Romain is speaking about threads in Android (subject that I am starting to know well) by saying us to not block the main thread, also known as UI thread because user interface operations must run [...]</div> fabien2012-05-03T07:00:34ZMarcus Hirt: Why JCMD?Marcus Hirthttp://hirt.se/blog/?p=2172012-05-03T05:57:10Z2012-05-03T05:57:10Z <div xmlns="http://www.w3.org/1999/xhtml">One of the reactions to my recent blog on JCMD has been “But, why?”. It is a reasonable question – after all, the simple examples I added to the blog can be solved using existing tools (jps, jstack etc) in the bin folder of any recent JDK. The answer is that JCMD provides: A simple framework [...]</div> Marcus2012-05-03T05:57:10ZRoman Kennke: Caciocavallo 1.1 releasedRoman Kennkehttp://rkennke.wordpress.com/?p=5162012-05-02T21:05:09Z2012-05-02T21:05:09Z <div xmlns="http://www.w3.org/1999/xhtml">I am very proud to announce that after 4 years of development, we publish the first release of Caciocavallo. Due to some funny problems with Maven and my network, it is numbered 1.1. Cacio started out in 2008 as one of ten projects to take on the OpenJDK Innovators Challenge. This is how it all [...]</div> Roman Kennke2012-05-02T21:05:09ZHenrik Ståhl: Moving to Java 7 as defaultHenrik Ståhlhttps://blogs.oracle.com/henrik/entry/moving_to_java_7_as2012-05-02T17:13:41Z2012-05-02T17:13:41Z <div xmlns="http://www.w3.org/1999/xhtml"><p>Back in February, I wrote <a shape="rect" href="https://blogs.oracle.com/henrik/entry/updated_java_6_eol_date">a post on this blog</a> stating that the End Of Life (EOL) of public support and public releases for JDK 6 was extended to November 2012, to allow for some more time for the transition to JDK 7. As part of the <a shape="rect" href="http://www.oracle.com/technetwork/java/eol-135779.html">updated EOL policy</a>, EOL for public support and fixes for Java SE will typically occur no earlier ...</p></div> Henrik Stahl 2012-05-02T17:13:41ZFabien Duminy: Devoxx France 2012 – Seren, serialization under steroids !Fabien Duminyhttp://www.duminy.fr/blog/?p=16372012-05-02T07:00:40Z2012-05-02T07:00:40Z <div xmlns="http://www.w3.org/1999/xhtml">At Devoxx France 2012, I attended to conference titled Seren, serialization under steroids ! presented by Olivier Croisier, who animates the codersbreakfast site. Seren, meaning SERialization ENhancer, is a free software allowing to speed up serialization of Java objects. It can, for example, be used for a faster persistance of objects in Ehcache or to [...]</div> fabien2012-05-02T07:00:40ZJames Gosling: Comments around Oracle v GoogleJames Goslinghttp://nighthacks.com/roller/jag/entry/comments_around_oracle_v_google2012-05-01T21:06:35Z2012-05-01T21:06:35Z <div xmlns="http://www.w3.org/1999/xhtml">There's been a lot of chatter about the Oracle v Google case, sometimes putting words into my mouth. I can't go into much detail because it is an ongoing court case where I'm likely to be a witness. But there are a few points I feel I should restate that have been said before: <span> ...</span></div> James Gosling2012-05-01T21:06:35ZFabien Duminy: Devoxx France 2012 – Deadlock VictimFabien Duminyhttp://www.duminy.fr/blog/?p=16582012-04-30T07:00:20Z2012-04-30T07:00:20Z <div xmlns="http://www.w3.org/1999/xhtml">For the conference titled Deadlock Victim at Devoxx France 2012, Heinz Kabutz and Olivier Croisier were talking about the DeadLock subject. By taking the dining philosophers problem as example, they show us that an inappropriate strategy can lead to a DeadLock. In the case of a database, the engine chooses the deadlock victim by returning [...]</div> fabien2012-04-30T07:00:20ZJames Gosling: My attitude on Oracle v GoogleJames Goslinghttp://nighthacks.com/roller/jag/entry/my_attitude_on_oracle_v2012-04-29T04:10:28Z2012-04-29T04:10:28Z <div xmlns="http://www.w3.org/1999/xhtml">[ Update: he fixed the article to put me on the same side as Scott ] <span> ...</span></div> James Gosling2012-04-29T04:10:28ZDalibor Topić: Seven By DefaultDalibor Topićurn:lj:livejournal.com:atom1:robilad:1176892012-04-27T22:02:15Z2012-04-27T22:02:15Z <div xmlns="http://www.w3.org/1999/xhtml">On Java.com:In Fedora 17: In Ubuntu 12.10:At Jelastic:</div> 2012-04-27T22:02:15ZMarcus Hirt: Cool New Features in JDK7 update 4!Marcus Hirthttp://hirt.se/blog/?p=2112012-04-27T09:53:01Z2012-04-27T09:53:01Z <div xmlns="http://www.w3.org/1999/xhtml">JDK7 was quite recently released, and I thought I should mention a few new cool things in it. JCMD First out is the port of the small JRockit command line utility JRCMD (JRockit Command). JRCMD was a command line tool to enumerate the Java processes running on the local machine, and to send commands (referred to [...]</div> Marcus2012-04-27T09:53:01ZHenrik Ståhl: Oracle JDK and JavaFX SDK now GA on Mac OS XHenrik Ståhlhttps://blogs.oracle.com/henrik/entry/oracle_jdk_and_javafx_sdk2012-04-26T23:41:58Z2012-04-26T23:41:58Z <div xmlns="http://www.w3.org/1999/xhtml"><p>Oracle JDK 7 and the JavaFX 2.1 SDK are now available for Mac OS X. This release is a major milestone in our effort to bring Oracle Java to Mac. From this point on, every release of Oracle JDK 7 and JavaFX 2.1 (and later) will be available on Mac at the same time as for Linux, Windows and Solaris.</p></div> Henrik Stahl 2012-04-26T23:41:58ZDalibor Topić: QotD: Ubuntu 12.04 Release Notes on OpenJDK 7Dalibor Topićurn:lj:livejournal.com:atom1:robilad:1173422012-04-26T16:53:20Z2012-04-26T16:53:20Z <div xmlns="http://www.w3.org/1999/xhtml">Taken from the <a shape="rect" href="https://wiki.ubuntu.com/PrecisePangolin/ReleaseNotes/UbuntuServer#Java">Precise Pangolin</a> release notes.</div> 2012-04-26T16:53:20ZDalibor Topić: Next Gig: JavaOne India on May 3rd & 4th in HyderabadDalibor Topićurn:lj:livejournal.com:atom1:robilad:1169922012-04-26T16:36:51Z2012-04-26T16:36:51Z <div xmlns="http://www.w3.org/1999/xhtml">I'll be <a shape="rect" href="http://www.oracle.com/javaone/in-en/program/keynotes/index.html">speaking</a> at JavaOne India next week in a couple of sessions.See you there!</div> 2012-04-26T16:36:51ZDalibor Topić: OpenJDK in The News: Oracle Releases Java SE 7 Update 4 and JavaFX 2.1 Dalibor Topićurn:lj:livejournal.com:atom1:robilad:1169652012-04-26T16:24:36Z2012-04-26T16:24:36Z <div xmlns="http://www.w3.org/1999/xhtml">Taken from an Oracle press <a shape="rect" href="http://www.oracle.com/us/corporate/press/1603497">release</a> titled "Oracle Releases Java SE 7 Update 4 and JavaFX 2.1".</div> 2012-04-26T16:24:36ZFabien Duminy: Get Android sources before version 4 (ICS)Fabien Duminyhttp://www.duminy.fr/blog/?p=14132012-04-26T07:00:02Z2012-04-26T07:00:02Z <div xmlns="http://www.w3.org/1999/xhtml">If, like me, you are developing under an Android version older than version 4 (also named Ice Cream Sandwich or ICS), you must have seen the SDK Manager doesn’t propose you to get the sources. In fact, it’s possible to manually download them. For that purpose, you must go to the grepcode site, where one [...]</div> fabien2012-04-26T07:00:02ZFabien Duminy: In which thread do I have to execute this code under android ?Fabien Duminyhttp://www.duminy.fr/blog/?p=14172012-04-25T07:00:45Z2012-04-25T07:00:45Z <div xmlns="http://www.w3.org/1999/xhtml">While I was developing under android, I discovered 3 exceptions thrown by android to indicate execution of code in the wrong thread. The first case is about execution of a request with the apache HTTP client, provided with android. The android documentation advice to use the AsyncTask class for long tasks, in order to avoid [...]</div> fabien2012-04-25T07:00:45ZMarcus Hirt: Remote JRCMD for JRockit R28.xMarcus Hirthttp://hirt.se/blog/?p=2072012-04-24T14:02:23Z2012-04-24T14:02:23Z <div xmlns="http://www.w3.org/1999/xhtml">On popular demand, here is how write a remote JRCMD for R28.x: import java.lang.management.ManagementFactory; import java.net.MalformedURLException; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import javax.management.Attribute; import javax.management.InstanceNotFoundException; import javax.management.MBeanAttributeInfo; import javax.management.MBeanServerConnection; import javax.management.ObjectName; import javax.management.remote.JMXConnector; import javax.management.remote.JMXConnectorFactory; import javax.management.remote.JMXServiceURL; /** * Simple code example on how to execute * ctrl-break handlers remotely. * * Usage: * RemoteJRCMD -host -port -user -pass -command [] * * All arguments are optional. If [...]</div> Marcus2012-04-24T14:02:23ZMarcus Hirt: Speaking at Java One and Oracle Develop India!Marcus Hirthttp://hirt.se/blog/?p=2062012-04-24T09:47:27Z2012-04-24T09:47:27Z <div xmlns="http://www.w3.org/1999/xhtml">I will be presenting the following two sessions at Java One in Hyderabad next week: Thursday, May 3 Time Room Title Abstract Type 17:30-18:20 Hall 5 HotRockit: What to Expect from Oracle’s Converged JVM Oracle is converging the HotSpot and Oracle JRockit JVMs to produce a “best-of-breed JVM.” Internally, the project is sometimes referred to as the HotRockit project. This presentation discusses what to ...</div> Marcus2012-04-24T09:47:27ZFabien Duminy: Processing an HTTP response with the apache clientFabien Duminyhttp://www.duminy.fr/blog/?p=14152012-04-24T07:00:42Z2012-04-24T07:00:42Z <div xmlns="http://www.w3.org/1999/xhtml">As I had to do an HTTP request under android, I started to write the following code using the apache HTTP client API (included in android) : After a problem, I discovered the server returned an http error 403 (access forbidden). So, I added the highlighted code below in order to manage the case it [...]</div> fabien2012-04-24T07:00:42ZJeroen Frijters: IKDASM - IL Disassembler Example for IKVM.ReflectionJeroen Frijtershttp://weblog.ikvm.net/PermaLink.aspx?guid=5ec2c949-aeec-4d05-bd54-bd12a2c3a7ca2012-04-23T14:54:40Z2012-04-23T14:54:40Z <div xmlns="http://www.w3.org/1999/xhtml"><p> A while ago I wrote an IL disassembler to test IKVM.Reflection. Both as a correctness test and also to test if the API surface exposes enough of the underlying information. </p></div> 2012-04-23T14:54:40Z