Feeds

No, modular Java isn't dead. It'll be in Java 9 – honest

Project Jigsaw, nixed from Java 8, is back and ready for Phase Two

Maximizing your infrastructure through virtualization

Despite significant delays, Oracle is once again moving forward with Project Jigsaw, a major undertaking that aims to allow Java developers to break their programs down into independent, interoperable modules.

Jigsaw was first intended to be a major features of Java 8. By 2012 Big O decided that waiting for Jigsaw to be ready would delay the entire Java 8 release, so work on the module system was postponed until a later version.

Not much has been heard much about Jigsaw since. But in a blog post on Wednesday, Mark Reinhold, Oracle's chief Java architect, said the Java Community was ready to begin "Phase Two" of the Project Jigsaw effort.

"It's now time to switch gears and focus on creating a production-quality design and implementation suitable for JDK 9 and thence Java SE 9, as previously proposed," Reinhold wrote.

To that end, Reinhold has drafted a new document outlining the goals and requirements of Project Jigsaw. If the devs get it right, Reinhold figures Jigsaw will not only make it easier to scale the Java platform down to small devices, but it will also improve the security, performance, and maintainability of Java applications.

But it's not going to be easy. Back in 2011, when Jigsaw was still expected to be part of Java 8, Reinhold said it would be a "revolutionary" release, as compared to the more "evolutionary" Java 7.

In the end, the Java 8 we actually got was mostly evolutionary, too, with lambda expressions being the only truly significant new feature. And Java 8 arrived two years late, even after cutting loose the Project Jigsaw boat-anchor.

Now work is set to begin in earnest on making Jigsaw ready for inclusion in Java 9, and Reinhold is once again warning us of the difficult slog ahead. Still, he says it's important to press onward.

"Jigsaw as a whole will bring enormous changes to the JDK; it would be unwise to wait until it's completely finished before merging any of it," Reinhold wrote. "Our intent, therefore, is to proceed in large steps, each of which will have a corresponding JEP [JDK Enhancement Proposal]."

The first three steps will involve figuring out how to break the JDK down into modules, modularizing the source code, and then finally modularizing the binary images. The fourth and last step will be to introduce the module system itself, in the form that developers will use for other programs outside the JDK.

Just how long all of this will take, we dare not speculate. So far, Oracle is hoping for a 2016 release for Java 9, but given that there were three years between versions 7 and 8 (even after dropping Jigsaw), that may be a tall order. ®

Reducing security risks from open source software

More from The Register

next story
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
Do YOU work at Microsoft? Um. Are you SURE about that?
Nokia and marketing types first to get the bullet, says report
Microsoft takes on Chromebook with low-cost Windows laptops
Redmond's chief salesman: We're taking 'hard' decisions
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Chrome browser has been DRAINING PC batteries for YEARS
Google is only now fixing ancient, energy-sapping bug
Big Blue Apple: IBM to sell iPads, iPhones to enterprises
iOS/2 gear loaded with apps for big biz ... uh oh BlackBerry
prev story

Whitepapers

Seven Steps to Software Security
Seven practical steps you can begin to take today to secure your applications and prevent the damages a successful cyber-attack can cause.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.