The Early Draft Review for JSR 294 is now available for Review
The Early Draft Review for JSR 294 – Improved Modularity Support in the JavaTM Programming Language is now available for Review
The intention is to deliver this JSR as a component of Java SE 7.
JSR 294 plan to extend the Java programming language with new constructs called “superpackages” that allow hierarchical modular organizatio.
Each superpackage is a collection of one or more packages or superpackages, which helps to organize large programs consisting of many packages. Related packages that are grouped into a superpackage can access each others’ public
types, while unrelated packages outside the superpackage cannot access those types, unless the types are exported
Example declaration
superpackage A {
member package P;
member superpackage B;
}
superpackage B member A {
member superpackage C;
export superpackage C;
}
superpackage C member B {
member package Q;
export Q.X;
}
Find out more about JSR 294 Here and Here
Filed under: Java | Leave a Comment
No Responses Yet to “The Early Draft Review for JSR 294 is now available for Review”