The Source for Java Technology Collaboration
User: Password:



Mark Reinhold's Blog

Community: JDK Archives


Mustang Beta Blog Carnival!

Posted by mreinhold on February 16, 2006 at 08:45 AM | Permalink | Comments (6)

After nearly eighteen months of effort within Sun, the Java Community Process, and the wider JDK Community, the Mustang Beta Release is now available.

In contrast to the source and binary snapshots that we’ve been shipping for over a year, the formal beta release has been through many weeks of intensive testing—and a tiny little bit of last-minute bug-fixing—in order to produce a release that’s somewhat more polished. If you’ve chosen to avoid the riskier snapshot builds then now is the perfect time to have a look at Mustang, make sure your existing code still compiles and runs, and try out the new features. Please do let us know what you think or—even better—get involved and help us make Mustang a great release for the entire community!

To help celebrate the beta release I’m hosting a “blog carnival” right here on this page. Over the next couple of days many members of the Java SE development community will post blog entries about the work they’ve been doing for the Mustang release. As entries are posted I’ll add them here for convenient reference; alternatively you can get the very latest blog entries via Planet JDK, which also provides RSS and Atom syndication feeds.

Step right up, ladies and gentlemen…

  • Chet Haase channels Julie Andrews and waxes poetic about his favorite Mustang features.

  • Brian Doherty reflects on the meaning of the word “beta” in this modern age of continuous integration and snapshot releases, and talks about some of the performance improvements—and pitfalls—in the release.

  • Chris Hegarty explains how he fixed a high-vote bug in the HTTP keep-alive implementation.

  • Sundar shows how to use DTrace on Solaris to generate a mixed-mode stack trace whenever an exception is thrown.

  • Jaya Hangal talks about LDAP timeouts and connection pooling in JNDI.

  • Scott Violet takes a break from big-picture application architecture to highlight some of the smaller UI features in Mustang.

  • Peter von der Ahé talks about the compiler plugins—known more formally as annotation processors—that are enabled by the Tree API, JSR 269, and JSR 199.

  • Sean Mullan summarizes the new security features in the release.

  • Shannon Hickey introduces the new support for choosing drop actions in the Swing Drag and Drop API.

  • Mandy Chung shows off six techniques for diagnosing memory-usage problems.

  • Madhura Dudhgaonkar explains why Mustang Beta is based on the relatively ancient build 59 even though the latest snapshot release is build 71.

  • David Herron posts a helpful reminder of the Mustang Regressions Challenge, in which you can win a slick new Opteron-based Ultra 20 workstation if you find a really egregious regression. (No purchase necessary, void where prohibited by law, etc.)

  • Éamonn McManus summarizes the new JMX features.

  • Chris Campbell argues with himself over whether or not the beta build is too passé, and also takes stock of the work that he and his team have been doing.

  • Preveen Mohan talks about some of the new AWT features in Mustang from the standpoint of a QA engineer.

  • Naoto Sato describes the new Locale Sensitive Services SPI.

  • Danny Coward muses on how the new Compiler API is going to keep javac up and running 24/7/365.

  • Penni Henry, the new Mustang Program Manager, reflects on the quality of the release from the perspective of someone relatively new to the team.

  • Gauri Sharma discusses the ongoing work on the Mustang JCK (Java Compatibility Kit).

  • Jon Masamitsu wonders whether those who want a truly “pauseless” garbage collector would be willing to pay for it in the currency of time and space.

  • Andreas Sterbenz shows how to plug NSS into the Java PKCS#11 crypto provider in order to improve performance on Linux and Windows.

  • Finally, in my other blog you can find a description of the new class-path wildcard feature.

That’s it for now!

Questions and answers

To answer a few of the questions that’ve been asked in the comments below:

  • The beta release is based on weekly build 59 from way back in November 2005. Madhura talks a bit more about why it’s so “old.”

  • Every bug fixed in a later snapshot build will stay fixed for the final release unless a problem with the fix is found in the interim and no alternative solution can be devised.

  • The evaluation license is a bit, well… baroque. We’re talking to our legal team to see if the part about having to notify Sun can be removed.



Mustang Release Contents (JSR 270): Early Draft Review

Posted by mreinhold on December 21, 2005 at 05:04 PM | Permalink | Comments (11)

Just in time for the holidays!

The Early Draft Review version of the JSR 270 specification, which governs the content of the Java SE 6 “Mustang” release, is now available.

JSR 270 is an “Umbrella” JSR, so it doesn’t define specific features itself—instead it lists features defined in other JSRs, or in the concurrent maintenance review of the Java SE platform specification. As an improvement over past umbrella specifications, this time around we’ve augmented each feature description with non-normative links to the relevant draft Mustang javadoc as well as any associated JSRs or other material.

When reviewing this draft please keep in mind that the Umbrella JSR only covers the component JSRs and other big-ticket or highly-visible items in Mustang. Most smaller enhancements aren’t listed in the Umbrella JSR, though of course they will be covered in the maintenance review of the platform specification that’ll start around the time that the beta release of the reference implementation ships.

Mustang is still under development. The JSR 270 Expert Group has approved all of the features listed in the draft, and we expect to see all those features in the final release. It’s still possible, however, for a feature to be dropped if, for example, it turns out to be too difficult to implement. It’s also possible for new features to be added, given sufficient justification, though at this stage big changes to the overall shape of the release are pretty unlikely.

Comments on this draft are most welcome! The formal EDR period ends in sixty days, but you can send feedback to the e-mail address listed in the draft at any time.

Sneak Preview

Here’s a summary of the approved feature list sorted by area, component, and feature name. For more details please see the EDR specification.

client2dGIF image writer
awtAccess to desktop helper applications
Fast splash screens
Improved modal dialogs
System-tray support
i18nPluggable locale data
Resource-bundle enhancements
Unicode string normalization
swingBaseline/gap APIs
Improve Swing drag-&-drop
JTabbedPane: Tabs as components
JTable sorting, filtering, and highlighting
SwingWorker
Text-component printing
coreJSR 223: Scripting for the Java Platform
debugAccess to heap contents
Attach-on-demand
Multiple simultaneous agents
libsArray reallocation
Collections: Deques
Collections: Sorted sets and maps with bidirectional navigation
Critical file-I/O enhancements
Floating point: Add core IEEE 754 recommended functions
java.util.concurrent updates
JSR 202: Java Class-File Specification Update
Password prompting
Reflective access to parameter names
Service-provider lookup
m&mGeneralized lock monitoring
Generalized MBean descriptors
Generic annotations for MBean descriptor contents
MXBeans
netInternationalized domain names
Internationalized resource identifiers
Programmatic access to network parameters
Simple HTTP cookie manager
secJSR 105: XML Digital-Signature APIs
toolsJSR 199: Java Compiler API
JSR 269: Pluggable Annotation-Processing API
eeJSR 250: Common Annotations
jdbcJSR 221: JDBC 4.0
xmlJavaBeans Activation Framework (JAF) 1.1
JSR 173: Streaming API for XML (StAX)
JSR 181: Web-Services Metadata
JSR 222: Java Architecture for XML Binding (JAXB) 2.0
JSR 224: Java API for XML Web Services (JAX-WS) 2.0

You can check out the initial implementations of many—though not all—of these new features in the weekly snapshot builds of the reference implementation.



planetjdk.org now publishes syndication feeds

Posted by mreinhold on November 18, 2005 at 08:41 AM | Permalink | Comments (3)

By popular demand Planet JDK now publishes both an RSS feed and an Atom feed.

The Atom feed is in the version 0.3 format (sorry Tim); I'll set up an Atom 1.0 feed just as soon as ROME supports that version, which hopefully will be fairly soon.

As I mentioned previously, Planet JDK is open to anyone who's contributed code into the Java SE Development Kit. If you've contributed a Mustang fix and your blog isn't listed on planetjdk.org then drop me a note and I'll add it.

Announcing planetjdk.org

Posted by mreinhold on November 10, 2005 at 03:20 PM | Permalink | Comments (4)

Many members of the JDK Community are active bloggers, but there's no one place where you can go to find their blogs. Quite a few can be found on java.net, but lots of Sun employees have blogs elsewhere—most often on blogs.sun.com—and of course non-Sun employees have blogs all over the web.

To help address this problem I've hacked up a simple aggregator and put it up on the web at planetjdk.org. I didn't have to write much new code for this since the ROME project already does the heavy lifting of parsing syndication feeds in all of their splendiferous complexity. It's still a little rough around the edges—it doesn't publish aggregated feeds itself yet, for example, but that will come soon. It's running, naturally, on the very latest Mustang build.

I've populated planetjdk.org with feeds for all of Sun's Java SE bloggers. I've also added feeds for the blogs of anyone who's contributed a fix to Mustang—at least insofar as I could find them via Google. If you've contributed a Mustang fix and your blog isn't listed on planetjdk.org then drop me a note and I'll add it.

Mustang Component JSRs

Posted by mreinhold on July 19, 2005 at 01:35 PM | Permalink | Comments (9)

The JSR 270 Expert Group recently decided upon the set of component JSRs that will appear in Mustang, a.k.a. Java SE 6. Here they are, grouped together by area:

202: Java Class File Specification Update
199: Java Compiler API Ease of Development
269: Pluggable Annotation Processing API
260: Javadoc Tag Update
221: JDBC 4.0
223: Scripting for the Java Platform
105: XML Digital Signature XML
173: Streaming API for XML
222: JAXB 2.0
181: WS Metadata Web Services
250: Common Annotations
224: JAX-WS 2.0 (formerly JAX-RPC 2.0)

There are a few differences between this set and the set originally proposed in JSR 270:

  • JSR 173, the Streaming API for XML, was added; it's a prerequisite for both JAXB 2.0 and JAX-WS 2.0.
  • JSRs 181 (WS Metadata), and 250 (Common Annotations) were added; these are prerequisites for JAX-WS 2.0.
  • There is no JSR for "JAXP.next"; instead a minor maintenance revision of JAXP will be proposed for Mustang.
  • JSR 268, the Java Smart Card I/O API, was dropped. Platform implementors are of course free to deliver an implementation of this JSR alongside their Java SE 6 implementations, which is what Sun intends to do, but JSR 268 won't be a required part of the platform.

Mustang's final release is slated for the third quarter of 2006. A lot could change between now and then, but unless something truly surprising happens then these are the JSRs that will appear in Mustang.



Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds