Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by Community: Open JDK

• Adopt a JSR  • Embedded  • GlassFish  
• Global Education and Learning  • Identity Management  • IoT  
• Java Communications  • Java Desktop  • Java Enterprise  
• Java Patterns  • Java Tools  • Java User Groups  
• Java Web Services and XML  • JavaFX  • JCP  
• JDDAC  • Jini  • JXTA  
• Mac Java  • NetBeans  • Open JDK  
• Portlet  • Robotics  • Sun Grid  
• Sun RFID and Sensor  • [no association]  


Open JDK

invokedynamic (at least the main parts) now lives in JDK 7 ! You haven't perhaps notice it but John pushes the first patches from the Da Vinci Machine project to the hotspot workspace. Method Handle support (meth): http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/e5b0439ef4ae   Invokedynamic support (indy): http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/be93aad57795...
on Apr 25, 2009
I've been gone from Sun for a little while now but of course I'm still interested in Java, and thankfully still have access to this java.net blog. Anyway the recent news about IBM pondering buying Sun has piqued my interest. To me the potential hookup seems like a bad idea. Sun plays a useful role in the computer industry as an independent company, that would be lost if woven into IBM. And the...
on Apr 4, 2009
One swallow does not a summer make, this entry will be in english and in french. In french we have a nice idiomatic expression "franglais" (frenglish ?) for that. I will be at FOSDEM'09, like last year and the year before. This year i will do a talk about the current status JSR292. What are the proposed changes (at the time of the talk :) to the JVM spec ? how they can be/are...
on Feb 3, 2009
I'm listening to the 'holidays 2008ish' episode of Javaposse and in reviewing their last years predictions they have enough fumbling around the status of OpenJDK that I want to do a little bit of explaining. OpenJDK 6 != JDK 6 There are circuitous historical reasons for this but the fact is that OpenJDK 6, as good as it is, does not correspond to JDK 6uN for any value of N. OpenJDK 6 began as a...
on Jan 5, 2009
John Rose (JSR 292 spec leader) recently push a great patch that enables support for method handles inside the VM. A java.dyn.MethodHandle is a safe object that stands for a function pointer but unlike a function pointer, calling a method handle with wrong arguments raise an exception. The aim of method handles (with invokedynamic) is to ease the support of dynamic languages by...
on Jan 2, 2009
The OpenJDK compiler grammar project provides a way to use a ANTLR parser as front end of javac. As you perhaps already now, I am one of the core developers of Tatoo, an inovative LR parser generator. In order to demonstrate that Tatoo is a great parser generator tool, let's do the same. Here is JLS 1.0 grammar taken by Tatoo as input: jls.ebnf (things between curly braces are...
on Dec 7, 2008
I've mentioned in the past that one of the new features in version 2.0 of the JMX API is "client contexts", which will allow a client to communicate context information to a server, and a server to adjust its behaviour accordingly. The most obvious example is locale, where for example the client says that it is in the French locale and the server translates its messages and...
on Dec 5, 2008
I just got back from the JavaFX launch event in San Francisco. It was just a few blocks from my office, so I figured, why not? Jonathan Schwartz was presenting, as well as the VP in charge of Java (I forget his name), and the had a pretty impressive set of demos. There were also demos being presented by Sun folks and a few partners. I spoke for a while with Jeff Martin, from a small shop...
on Dec 4, 2008
I've been toying with doing a blog or podcast aggregator with JavaFX. I have a feeling that the strengths of JavaFX, animation, graphics, media, etc, could be put to good use in such an app. Additionally most podcasters put little player widgets on their site, and JavaFX could offer an alternative to the flash based player widgets. While that's the vision I'm chasing I'm nowhere near there,...
on Dec 4, 2008
You can view the updated site, launch videos, sample apps, and more, at javafx.com .. well .. when the server comes back up, it's having a little bit of trouble at this moment. Anyway, I want to post a few thoughts.. This is a big deal in some ways in that it is a radical departure from the past image Java has carried. Graphics and animation and media, oh my. Somewhere I heard this phrase This...
on Dec 4, 2008
This blog has moved here var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); var pageTracker = _gat._getTracker("UA-3111670-3"); pageTracker._initData(); pageTracker._trackPageview();
on Nov 25, 2008
You can't construct a JMX ObjectName without handling MalformedObjectNameException, which is a checked exception. Here's why that is a pain, how to relieve that pain, and what we're doing to make it less painful in the next version. If you've done any programming at all with the JMX API, you'll have noticed that all of the ObjectName constructors, and all of the...
on Nov 17, 2008
We live in a post-generics world, recently, October 30th, 2008, J2SE 1.4.2 retires has reach its End Of Service Life. I think it's a coincidence but Maurizio Cimadamore decide to introduce a long requested feature in javac, it now emit a warning for all usages of raw types (a parameterized type without ''). And frankly, we (all Java developers) seem not ready for that...
on Nov 4, 2008
This blog has moved here var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); var pageTracker = _gat._getTracker("UA-3111670-3"); pageTracker._initData(); pageTracker._trackPageview();
on Oct 29, 2008
I've been thinking about this a bit recently and a comment on the javaposse google group tipped me into blogging mode. While discussing the recent shipping of JDK 6u10 Reinier Zwitserloot said On windows, and on linux, there is no java at all. It has to be installed separately. This is supremely annoying. There are odds the linux user has e.g. debian/ubuntu openjdk-6 installed, and on windows...
on Oct 24, 2008
We finally know the value for N in the equation 6uN .. N = 10. A set of slides have been posted discussing what's new. This release started out as Consumer JRE and became more, and more, and more, etc.. It's a relief to have this out in the public. The DLJ bundles for 6u10 are also available. What does this mean? It means that client side Java has been getting some long long long needed...
on Oct 21, 2008
I slowly (really slowly) progress in order to complete the implementation of the JSR292 backport, not because it's difficult but because I have not much time devoted to that task. Recently (ok, ten days ago), John Rose sent a patch to mlvm that allow javac (not the real one :) to encode an invokedynamic call using an used/free opcode (186). In order to support this new...
on Oct 21, 2008
The JMX Namespace feature has now been integrated into the JDK 7 platform. You can read about it in detail in the online documentation for javax.management.namespace. Here's my quick summary. Namespaces add a hierarchical structure to the JMX naming scheme. The easiest way to think of this is as a directory hierarchy. Previously JMX MBeans had names like java.lang:type=ThreadMXBean. Those...
on Sep 30, 2008
I will be at JVM Language Summit to talk about the JSR 292 backport. The JSR 292 backport is an attempt to provide a Java 5/Java 6 compatible backport of invokedynamic and other retated stuffs. If you're in the area, I will be happy to talk with you. Cheers.
on Sep 22, 2008
Shanliang Jiang talks about one of the main use cases of the Event Service from the new JMX API in this blog entry. You can use a wildcard ObjectName to subscribe to a set of MBeans. The Event Service tracks the arrival and departure of MBeans, so it will subscribe to new MBeans matching the pattern as they appear. The Event Service is already present in the latest draft of the JDK 7 API and...
on Sep 19, 2008