-
Bug
-
Resolution: Fixed
-
P2
-
7
-
b142
-
generic
-
generic
-
Not verified
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.
(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.
- relates to
-
JDK-6708407 Using XMLEncoder To Write java.io.File Chosen From JFileChooser Fails
- Open
-
JDK-6708550 LTP: XMLEncoder does not encode instances of the File class
- Closed
-
JDK-6176120 RFE: Define annotation to link constructor parameters to getters
- Resolved