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

The latest JDK 6 build machine setup and build instructions are now available at: http://download.java.net/jdk6/docs/build/README-builds.html. Do NOT go to http://download.java.net/README-JRL.html, those are old pages, and I'm trying to get them updated or removed. We have re-structured the build instructions and am trying to add in more information and details on the various build...
on Aug 28, 2006
It's a recurring problem, you have a code that always generates an exception    public void throwIOException(int code) throws IOException {     throw new IOException(IO.getMessage(code));   }  and you use it in a method like this :    public int read() throws IOException {     int value=readAByte()  ...
on Aug 26, 2006
I've read the proposal about function types and closures and i have noticed that the invocation of a function type will use the newly introduced bytecode invokedynamic (the gilad blog about invokedynamic) and i think i know why ! So let me introduce a small example of closure, the method transform applies a transformation on each item of an array and store the result in the same array....
on Aug 24, 2006
In the latest Javaposse episode (Java Posse #078 - Listener Feedback) they identified me as "The dude in charge of open sourcing Java" ... (go :20.0 in the podcast) heh... That's shades of Brian Harry nominating me the dictator for life over Java. But, hey, it's not true. There's other people in charge of open sourcing Java SE, I'm simply involved with the process. So while I'm here, howzabout...
on Aug 21, 2006
I'm not a security expert or anything, but I thought I knew enough about those stuff to get by. But when I looked at the new Java Web Start security dialogs in SE 6, I get nervous — AFAICT, this dialog is bit dangerous. But if the security experts of Java SE think these are fine, then I must be missing something. So what am I missing? The screen in question is below: When I create my...
on Aug 20, 2006
For the last few months I've been writing an occasional series on the issues surrounding open sourcing Sun's Java implementations over on my other blog. Realising there are plenty of people on java.net who never get over there, here's a summary of the story so far. Will Sun use GPLv3? (November 20, 2006) Some people have been throwing rocks at the GPLv3 process from outside, and others have been...
on Aug 18, 2006
A lot of excitement these days about the SUN plan of releasing part of the Java Technology as Open Source Software (OSS) for the next few months. Reading the news I've observed the key discussion for now is about the license to be adopted by SUN to release its technologies. It is not a simple decision and, besides the public discussion about the best licenses, there is SUN needs to protect its...
on Aug 17, 2006
This article: IBM takes potshots at OpenSolaris has some interesting things to say about open source projects being more than the license that allows freedom. It's about the community that's built around the open source project. However I don't want to go into the specifics about IBM's characterisation of the Open Solaris community. At the end is a rather interesting quote: And making IBM's...
on Aug 16, 2006
Yes, we must retire some old friends. Management says it's time to drop these code names and develop a new project naming system around our open source model. Better now than after Dolphin get's firmly entrenched – and as for Mustang, well it's almost done anyway. So with some sadness, we're walking Mustang out from her stable one last time to let her roam free in the meadows and we're...
on Aug 15, 2006
Okay, cool, we're finally making announcements about our open source plans. We have 'portal' page collecting the open sourcing information. We have a forum for your feedback on the open sourcing of Java SE. There is discussion from Mark Reinhold, Danny Coward, Simon Phipps, Tom Marble, and perhaps you might think my earlier blog posting might be included on that list. There are discussion...
on Aug 15, 2006
Expect to find yourself in a more open Java community soon. Mark Reinhold and Simon Phipps have written about the significance of new steps Sun has taken to create even a more open Java community. Sun engineers already participate in various open source activities, from Apache (witness the Beta release of Derby 10.2) to Open Solaris. So, now, java.net collaboration environment will host the...
on Aug 15, 2006
Many thoughts bubbled up from listening to FLOSS Weekly 11: Guido van Rossum ... so here's a couple. First, they discussed the major complaint against Python, a complaint that has kept me from learning the language lo these many years since I first heard of it way back in the early 90's. Namely, it seems broken for a language to use white space as anything important like delineating "blocks"....
on Aug 9, 2006
Here's an interesting question: How many of your Windows apps use the native Windows UI? (dzone.com)... Prashant Devi asks that question, in a moment of realization that almost none of the applications he uses daily use the standard Windows UI. To me this begs the question ... what value is the standard Windows UI if almost no application uses it? The story has been, for years, that users are...
on Aug 3, 2006
While reading the JDBC 4.0 spec, i found a meta protocol mix in the way the spec specifies how to create an empty DataSet using the newly introduced query interface mecanism. But before let me introduce the context : JDBC 4 JDBC 4.0 introduces a new way to map a class to a result of a JDBC Query automagically. It's not a real O/R Mapper like hibernate or the one describes by the EJB3...
on Aug 2, 2006
"We" are having planning and discussion about how to handle Sun's Java implementation as open source. I've seen several articles and blog postings from the folk directly involved in the discussions, and it's all very interesting. What I'm most puzzling over is, what should the quality team do or publish etc in this environment? In my past reading it was most enlightening to learn that one of...
on Jul 30, 2006
After reading the John O'Conner Blog about scripting, i want to share some thoughts. First, embedding script in a desktop application is not new, Mozilla Firefox, Open Office Writer/Calc (Microsoft Word/Excel) already provide a scripting environment to their end users since years. While i'm not convinced by the fact that applications fully written with script are easy to maintain, i fully...
on Jul 28, 2006
Preamble : this is my first blog entry, so champagne!! Ok, you have perhaps notice it, the signature of the SwingWorker's process method change in the last beta (b92), and you can blame someone for that ... me. I'm proud to have reported this bug (6432565) even if for patch it, the interface of SwingWorker has been changed. After all the JDK is still in beta. SwingWorker is used to publish...
on Jul 26, 2006
Recently I've seen several people ask what the cost of enabling JMX monitoring on an application is. If I run with -Dcom.sun.management.jmxremote and connect jconsole, how much will that affect the performance of my app? Here are the results of some highly unscientific experiments. Here's the quick answer for people who look at the answers in the back of the...
on Jul 21, 2006
There was a little "discussion" about the inclusion of Java DB into the JDK. I was on vacation and didn't read it too deeply. At least a) it's only in the JDK, and it's the JRE download size that's more of an issue than is the JDK download size ... b) it's not in rt.jar but instead a separate directory in the JDK ... What struck me, though, is the idea that a database is only suitable for...
on Jul 18, 2006
I often want to test that my MBeans work correctly when accessed remotely. For example it's easy to accidentally introduce non-serializable objects in them. It's a pain to set up a real remote connection, but you can make a loopback connection in the same JVM to test most of the same things. Here's how. import javax.management.*;import javax.management.remote.*;...MBeanServer mbs = ......
on Jul 7, 2006