Planet JDKhttp://planetjdk.orgNews and views from the Java SE Development-Kit CommunityVariousJoe Darcy: javax.lang.model backed by core reflectionhttps://blogs.oracle.com/darcy/entry/core_backed_lang_model <div xmlns="http://www.w3.org/1999/xhtml"><p> Back when the <code>javax.lang.model</code> API was being designed as part of <a shape="rect" href="http://www.jcp.org/en/jsr/detail?id=269">JSR 269</a>, while the API was primarily intended for use at compile-time with annotation processing, the expert group also wanted the API to be usable in other contexts as well, including at runtime. </p></div> /Annotation Processingannotationprocessingjdk8Mon, 20 May 2013 18:45:52 GMThttps://blogs.oracle.com/darcy/entry/core_backed_lang_modeldarcy 2013-05-20T18:45:52ZJonathan Gibbons: Shelling Testshttps://blogs.oracle.com/jjg/entry/shelling_tests <div xmlns="http://www.w3.org/1999/xhtml"><a shape="rect" href="http://openjdk.java.net/projects/code-tools/jtreg/intro.html">jtreg</a> provides support for various different types of tests. API tests can use "<code>@run main</code>", simple compiler tests can use "<code>@compile</code>", and simple GUI or applet tests can use "<code>@run applet</code>". And then there's the ubiquitous "misc" or "other" category, for which "<code>@run shell</code>" is provided. However, there are a number of reasons why not to use "shell tests", and <a shape="rect" href="http://hg.openjdk.java.net/jdk8/tl/langtools/rev/dc8b7aa7cef3">recently</a> we made another ...</div> /OpenJDKFri, 17 May 2013 22:00:46 GMThttps://blogs.oracle.com/jjg/entry/shelling_testsjjg 2013-05-17T22:00:46ZLandon Fuller: Keychain, CAs, and OpenSSLhttp://landonf.bikemonkey.org/2013/05/14#certsync.20130514 <div xmlns="http://www.w3.org/1999/xhtml"><p>It took me almost 13 years, but I <em>finally</em> sat down and solved a problem that has annoyed me since Mac OS X 10 Public Beta: synchronizing OpenSSL's trusted certificate authorities with Mac OS X's trusted certificate authorities.</p></div> Tue, 14 May 2013 16:39:00 GMThttp://landonf.bikemonkey.org/2013/05/14#certsync.201305142013-05-14T16:39:00ZAndrew Hughes: [SECURITY] IcedTea 2.1.8 for OpenJDK 7 Released!http://blog.fuseyism.com/index.php/2013/05/10/security-icedtea-2-1-8-for-openjdk-7-released/0 <div xmlns="http://www.w3.org/1999/xhtml">The IcedTea project provides a harness to build the source code from OpenJDK using Free Software build tools, along with additional features such as a PulseAudio sound driver and support for alternative virtual machines. This release updates our OpenJDK 7 support to include the latest security updates. We recommend that users of the 2.1.x branch [...]</div> IcedTeaOpenJDKSecurityFri, 10 May 2013 20:13:49 GMThttp://blog.fuseyism.com/?p=551gnu_andrew2013-05-10T20:13:49ZGary Benson: VM networking tiphttp://gbenson.net/?p=3790 <div xmlns="http://www.w3.org/1999/xhtml">If you are setting up VMs using libvirt then it’s a good idea to change the address of the virtual network to something other than the default. Why? Because if you don’t, and you create a guest which itself starts up libvirt and uses NetworkManager then at least some of the time your VM will [...]</div> HOWTOsFri, 10 May 2013 09:37:06 GMThttp://gbenson.net/?p=379gbenson2013-05-10T09:37:06ZStuart Marks: Devoxx UK 2013: Sample Code from Accelerated Lambda Programminghttp://stuartmarks.wordpress.com/2013/05/09/devoxx-uk-2013-sample-code-from-accelerated-lambda-programming/0 <div xmlns="http://www.w3.org/1999/xhtml">I gave a talk at Devoxx UK 2013 entitled Accelerated Lambda Programming. Here is the slide presentation from that talk. There are just a few introductory slides in the slide deck, after which most of the talk consisted of live programming demos in NetBeans. Below is the sample code from the demo, cleaned up, merged […]</div> JavaFri, 10 May 2013 01:16:44 GMThttp://stuartmarks.wordpress.com/?p=540stuartmarks2013-05-10T01:16:44ZStuart Marks: Devoxx UK 2013: Testing Presentationshttp://stuartmarks.wordpress.com/2013/05/08/devoxx-uk-2013-testing-presentations/0 <div xmlns="http://www.w3.org/1999/xhtml">I’m finally catching up with my backlog of items dating back to Devoxx UK 2013, which was in March! There were a couple of testing-related events I participated in. The first was an OpenJDK TestFest, sponsored by the London Java Community, IBM, and Oracle. This wasn’t officially part of Devoxx. It was held at the […]</div> JavaWed, 08 May 2013 22:06:48 GMThttp://stuartmarks.wordpress.com/?p=550stuartmarks2013-05-08T22:06:48ZGary Benson: Only dest dir longer than base dir not supportedhttp://gbenson.net/?p=3670 <div xmlns="http://www.w3.org/1999/xhtml">Hello, Have you experienced the mysterious error, “Only dest dir longer than base dir not supported”? I have. The Problem When you build an rpm, the code is built in %{_builddir}, which usually evaluates as %{_topdir}/BUILD, which in turn evaluates as something like /home/you/rpmbuild/BUILD. The built code (if built with GCC) ends up with loads [...]</div> HOWTOsWed, 08 May 2013 19:50:25 GMThttp://gbenson.net/?p=367gbenson2013-05-08T19:50:25ZJim Laskey: jjs -fxhttps://blogs.oracle.com/nashorn/entry/jjs_fx <div xmlns="http://www.w3.org/1999/xhtml"><div>So after some playing around and working with the JavaFX folks, I think we have a proposal for jjs that works with JavaFX.  The -fx flag on jjs will bootstrap scripts using a javafx.application.Application.  Thus, writing JavaFX scripts in Nashorn is very easy.</div><span> ...</span></div> /PersonaljavafxjavascriptjjsnashornTue, 07 May 2013 20:20:54 GMThttps://blogs.oracle.com/nashorn/entry/jjs_fxjlaskey 2013-05-07T20:20:54ZJim Laskey: Playing ITunes from Nashornhttps://blogs.oracle.com/nashorn/entry/playing_itunes_from_nashorn <div xmlns="http://www.w3.org/1999/xhtml"><p>If you are on Mac OS X, it's possible to use Apple Script from Nashorn.  For example if you want to play a song in iTunes, the following script will do it; </p></div> /PersonalitunesjavascriptnashornosascriptTue, 07 May 2013 19:11:57 GMThttps://blogs.oracle.com/nashorn/entry/playing_itunes_from_nashornjlaskey 2013-05-07T19:11:57ZJim Laskey: HTTP Server Written In Nashorn https://blogs.oracle.com/nashorn/entry/http_server_written_in_nashorn <div xmlns="http://www.w3.org/1999/xhtml"><p>This is just a little "thinking outside the box" example.</p></div> /Personalhttpjavascriptnashornnode.jsserverTue, 07 May 2013 18:25:41 GMThttps://blogs.oracle.com/nashorn/entry/http_server_written_in_nashornjlaskey 2013-05-07T18:25:41ZFabien Duminy: Devoxx France 2013 – Architecting for Continuous Deliveryhttp://www.duminy.fr/blog/?p=2027&lang=en&utm_source=rss&utm_medium=rss&utm_campaign=devoxx-france-2013-architecting-for-continuous-deliveryhttp://www.duminy.fr/blog/?feed=rss2&p=2027&lang=en0 <div xmlns="http://www.w3.org/1999/xhtml">At Devoxx France 2013, I attended to conference titled « Architecting for Continuous Delivery » presented by Axel Fontaine. Facebook, Flickr and Stack Overflow are going in production many times per day and thus they do continuous delivery. Note : we can see that Stack Overflow’s version number is in the footer of pages. Continuous [...]</div> francedevoxxdevoxx-france-2013Devoxx France 20132013Tue, 07 May 2013 07:00:29 GMThttp://www.duminy.fr/blog/?p=2027fabien2013-05-07T07:00:29ZFabien Duminy: Devoxx France 2013 – Demining an application with JRockit Mission Controlhttp://www.duminy.fr/blog/?p=2062&lang=en&utm_source=rss&utm_medium=rss&utm_campaign=devoxx-france-2013-dminage-dune-application-avec-jrockit-mission-controlhttp://www.duminy.fr/blog/?feed=rss2&p=2062&lang=en0 <div xmlns="http://www.w3.org/1999/xhtml">At Devoxx France 2013, I attended to conference titled « Demining an application with JRockit Mission Control » presented by François Ostyn. JRockit Mission Control is a tool for the JRockit JVM providing : a JMX console a recorder of events happening in the JVM : Flight recorder a memory analyser to help find memory [...]</div> francedevoxxjrockit-mission-controldevoxx-france-2013hotspotDevoxx France 20132013JavajrockitThu, 02 May 2013 07:00:35 GMThttp://www.duminy.fr/blog/?p=2062fabien2013-05-02T07:00:35ZGary Benson: Saving moneyhttp://gbenson.net/?p=3531 <div xmlns="http://www.w3.org/1999/xhtml">I have a pair of set-top box PCs I’ve been using as always-on servers. I used them because they’re silent, but lately I’ve been thinking about power consumption. They were pretty good when I bought them in 2006 and 2008, but there’s much better stuff available now. I spent £60 on a Raspberry Pi and some supporting [...]</div> UncategorizedLow-power computingRaspberry PiWed, 01 May 2013 10:04:20 GMThttp://gbenson.net/?p=353gbenson2013-05-01T10:04:20ZAndrew Hughes: [SECURITY] IcedTea 2.2.8 for OpenJDK 7 Released!http://blog.fuseyism.com/index.php/2013/05/01/security-icedtea-2-2-8-for-openjdk-7-released/0 <div xmlns="http://www.w3.org/1999/xhtml">The IcedTea project provides a harness to build the source code from OpenJDK using Free Software build tools, along with additional features such as a PulseAudio sound driver and support for alternative virtual machines. This release updates our OpenJDK 7 support to include the latest security updates. We recommend that users of the 2.2.x branch [...]</div> IcedTeaOpenJDKSecurityWed, 01 May 2013 00:14:43 GMThttp://blog.fuseyism.com/?p=546gnu_andrew2013-05-01T00:14:43ZFabien Duminy: Devoxx France 2013 – (Reality)-[:IS_A]->(Graph)http://www.duminy.fr/blog/?p=2045&lang=en&utm_source=rss&utm_medium=rss&utm_campaign=devoxx-france-2013-reality-is_a-graphhttp://www.duminy.fr/blog/?feed=rss2&p=2045&lang=en0 <div xmlns="http://www.w3.org/1999/xhtml">At Devoxx France 2013, I attended to conference titled « (Reality)-[:IS_A]-&gt;(Graph) » presented by Florent Biville. Interest of a graph oriented database Internet, social networks, communication networks and maven dependencies of a project are examples of graphs in reality. There are many efficient search algorithms with a linear complexity. Graphs have a simple structure : [...]</div> graph-oriented-databasefranceneo4jdevoxxdevoxx-france-2013Devoxx France 20132013JavaTue, 30 Apr 2013 07:00:16 GMThttp://www.duminy.fr/blog/?p=2045fabien2013-04-30T07:00:16ZMike Duigou: How I generate an OpenJDK webrevhttps://blogs.oracle.com/bondolo/entry/how_i_generate_a_webrev <div xmlns="http://www.w3.org/1999/xhtml">It seems there are a lot of recipes for generating OpenJDK webrevs. Here's the one I use. I have been meaning to turn it into a proper script but have been too busy/lazy. I use the mercurial mq extension and am always generating webrevs for mq patches. <span width="100%" bgcolor="F0F0F0"> ...</span></div> /JavaopenjdkSat, 27 Apr 2013 00:12:55 GMThttps://blogs.oracle.com/bondolo/entry/how_i_generate_a_webrevmduigou 2013-04-27T00:12:55ZMark Reinhold: Java 8: Hold the trainhttp://mreinhold.org/blog/hold-the-train <div xmlns="http://www.w3.org/1999/xhtml">New departure date: 2014/3/18</div> jdk8java8openjdksecurityFri, 26 Apr 2013 16:44:25 GMThttp://mreinhold.org/blog/hold-the-trainMark Reinhold2013-04-26T16:44:25Z