Review request 7039809: "Remove @ConstructorProperties annotation from java.io.File class"

Mandy Chung mandy.chung at oracle.com
Thu Apr 28 22:58:54 UTC 2011


  Sergey, Alan,

Can you review the fix for:
    7039809: "Remove @ConstructorProperties annotation from java.io.File 
class"

Webrev at:
     http://cr.openjdk.java.net/~mchung/jdk7/7039809/webrev.00/

This is essentially backing out this changeset:
    http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/ec9c8e73ae53

Background:
java.io.File is annotated with java.beans.ConstructorProperties in JDK 7
(6708550). This introduces a undesirable dependency to the base module
(where java.io.File class is).  The base module cannot depend on any 
other module.

Unless java.beans.ConstructorProperties is included in the base module and
splitting java.beans package across the base module and the client module,
such dependency has to be eliminated.

As multi-module packages (aka split packages) is currently an open 
requirement
to the Java module system, it's agreed to back out the fix for 6708550 
in JDK 7
and defer it to JDK 8 when it'll determine if the multi-module package 
will be
supported.

Thanks
Mandy





More information about the core-libs-dev mailing list