Posted by editor
on November 29, 2006 at 9:04 AM PST
What do you need in JDK 7? Also:
Java Today: JavaLobby JDK 7 wish-list, JDK7 b03 compiler fixes, and NetBeans for Brazilian Portuguese
Forum postings: Why killing the JVM kills host processes, SwingX Painter refactoring, and dynamic properties for GlassFish WebStart
Weblogs: Challenges for multi-tasking the JVM, phoneME structure, and more component animation from Kirill
What do you need in JDK 7?
Last week, we noted Elliotte Rusty Harold's RatJava blog entry, which proposed making a set of syntactic language changes (eliminating semicolons, requiring braces for multi-line statements, simplifying multi-line String literals), which could be supported by hacking javac . The resulting language wouldn't be Java (and probably wouldn't be well-suited to collaboration, which is one of Java's strengths), but would emit genuine Java bytecode and would work with existing code and libraries. It's one of the first topics of discussion on this week's JavaPosse podcast , if you'd care to hear what the Posse guys think.
A similar set of ideas appeared in this week's JavaLobby newsletter, which led off with MiG InfoCom AB president Mikael Grev's Christmas Wish List for Java , collecting a number of things he'd like to see from the language, its implementors, and the community in general. Perhaps the most interesting change in the form of this wish-list is that with Java GPL'ed, the phrasing of such lists has changed from "Sun should do X" to "someone should do X", recognizing the potential for many community members (individuals, companies, organizations, etc.) to contribute to Java's evolution by hacking on the JDK code itself. So, given that it's a wish-list to anyone in a position to grant his wishes and not just Sun, his requests include a legacy-free "Swing 2.0" for JDK 7, a "for.index" that would return the index of a for-each counter, and a killer app in Java. Unsurprisingly, over a hundred of people have joined the talkbacks to his JavaLobby post, commenting on his ideas and offering some wished-for features of their own.
So what about you? What do you want to see in Java? Can you add it yourself, would you need help, or does someone else need to do it?
Also in the Java Today section,
Peter von der Ahé's blog has posted a list of JDK7 b03 compiler fixes . "I'm not sure when b03 will be available for download from jdk7.dev.java.net or openjdk.dev.java.net . Since the main focus of our organization is releasing JDK 6 right now, JDK 7 is on the back burner. There is good news and bad news about the first JDK 6 update release (6u1). The good news is that 6u1 should be released very soon after JDK 6. The bad news is that the compiler is not considered critical for this release and there will be no compiler back ports to JDK 6u1."
The NetBeans 5.5 Testing Contest Information has an update for Brazilian Portuguese developers: "Thanks to great contribution by a number of developers in Brazil,
NetBeans now has a Brazilian Portuguese version ready for inclusion in
the official NetBeans IDE 5.5 Multilingual version. All that remains is
to fully test the product to make sure it will be accepted by
developers in Brazil."
Today's Forums , continue the discussion of whether JDK 7 could and should support multiple Java applications in one JVM instance. One of the current problems is pointed out by
Re: Isolation API in JDK7? :
"Actually I'd like to inject a point that might be in coxcu's favor. I once wrote an application that injected itself into a remote process space (explorer.exe to be specific) and launched a JVM inside there. The problem, you see, is that there is no way to terminate a JVM without killing the entire process it's running in (see JNI_DestroyJavaVM()). Now, by implication, any time I wanted to uninstall my application, I'd want to remove its DLLs, which by extension meant I had to shut down my code running inside explorer's process-space which by implication meant I had to kill the JVM... and it took down Explorer with it."
Joshua Marinacci posts about a
Painter set refactoring on the SwingLabs forum:
"I've just committed the latest (and hopefully final) refactoring of the Painter API to CVS. Here's the basic idea: JXComponent, an interface that JXPanel, JXLabel, etc will implement. Most instances of JXComponent will simply delegate to PainterSupportImpl which will do the real storage and work. The various get/setPainter/Background/Foreground methods all eventually modify something in the map that comes from getPainters(). This map is live, meaning you can get it and change the contents, and the changes will be reflected on the next paint cycle."
phenderson has a
WebStart feature request :
"I've an idea which could help improve WebStart on Glassfish. Instead of hard coding the application name etc in sun-application-client.xml have the web start servlet generator request information from a bean. Then the bean can provide all the relevant info for the JNLP file. The reason I would like this, is so that I can customize (via DB values) the Name of the JNLP application and therefore making the list of applications on the clients pc unique. Something like 'StarjarEnterprise (Company A)' 'StarjarEnterprise (Test)' etc. Dynamic data is much more useful than hard coded values tucked away in xml files."
Returning to the idea of the Isolation API and running many apps in one JVM, Mark