Relates :
|
|
Relates :
|
|
Relates :
|
java.io.File is annotated with java.beans.ConstructorProperties in JDK 7 (6708550). From modularity's perspective, this is a undesirable dependency. The base module (where java.io.File class is) 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. It is still an open requirement whether a module system supports multi-module packages (aka split packages). In order to leave the options open (no multi-module package support), we should back out the fix for 6708550 in JDK 7. We can reimplement the fix in JDK 8 once it is determined that multi-module package will be supported.
|